Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxDockSite Class

Represents a dock site.

#Declaration

Delphi
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