TdxCustomDockControl.SideContainerIndex Property
Returns the position of the dock control within the owning side container.
Declaration
property SideContainerIndex: Integer read;
Property Value
Type |
---|
Integer |
Remarks
The SideContainerIndex property value indicates:
The index of the dock control within its owning side container, if the side container is its immediate parent;
The index of the owning tab container within its owning side container. This occurs if the immediate parent of the dock control is a tab container residing within a side container.
If neither condition above is satisfied, the SideContainerIndex property returns -1.
Note that if the immediate parent of the dock control is a side container, the SideContainerIndex property value coincides with the DockIndex property value. If the immediate parent is a tab container, the DockIndex property will return the position of the control within the tab container.