Skip to main content

TdxDockingController.DockControlCount Property

Returns the number of dock control in the application.

Declaration

property DockControlCount: Integer read;

Property Value

Type
Integer

Remarks

Use this property to determine the number of dock controls in the application. This property can be used in combination with the DockControls property to traverse through dock controls.

Note that dock panels and dock sites are taken into account by the DockControlCount and DockControls properties. For instance, if there is a single floating panel in the application, the DockControlCount property will return 2. The reason is that actually there are two dock controls – the float site and the dock panel residing on it.

See Also