Skip to main content

TdxCustomDockControl.Children Property

Provides indexed access to immediate children of the dock control.

Declaration

property Children[Index: Integer]: TdxCustomDockControl read;

Property Value

Type
TdxCustomDockControl

Remarks

Use the Children property to access the immediate children of the dock control. This property can be used in combination with the ChildCount property to traverse through the children list. The ChildCount property value is always one greater than the index of the last available child. The first child’s index is 0.

The image below illustrates the Children and ChildCount property values. The dock windows structure and the Object TreeView windows are shown for this purpose. Note that the ChildCount property will return 3 for the vertical side container (its immediate children are the tab container and two panels). Other panels are immediate children of the tab container and will be returned by its Children property.

See Also