Skip to main content

TdxDockSite Class

Represents a dock site.

Declaration

TdxDockSite = class(
    TdxCustomDockSite
)

Remarks

Dock controls can be either floating or docked. To enable end-users to dock controls to a form, you must place a TdxDockSite control on the form (create a dock site). This control can accept only dock controls. Attempts to place any other control on a dock site raise an exception. Dock controls can be docked to any edge of a dock site or fill its entire client area (provided that dock types are not prohibited by the AllowDockClients property of the dock site).

When dock controls are floating, a float site represented by the TdxFloatDockSite class is automatically created for them.

Unlike the float site, dock sites provide an auto hide functionality for their dock controls. Please refer to the AutoHide property of dock controls for details on this feature. The TdxDockSite class introduces the ShowingControl property that allows you to show and hide controls via code. Also, you can handle the OnShowControl and OnHideControl events to respond dock control visibility changes.

See Also