Skip to main content

TdxCustomDockControl.DockLevel Property

Returns a value indicating the nesting level of the dock control.

Declaration

property DockLevel: Integer read;

Property Value

Type
Integer

Remarks

Use the DockLevel property if you need to obtain the nesting level of the dock control. Note that this property returns 1 for float sites and TdxDockSite components. Thus, if a panel is on either of these containers, the DockLevel property of the panel will return 2. If a tab container or side container is docked to either of these containers, the DockLevel property of panels in the container will return 3.

See Also