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

TdxLayoutDockSite Class

Represents a layout site.

#Declaration

Delphi
TdxLayoutDockSite = class(
    TdxCustomDockSite
)

#Remarks

When a dock control is docked to a dock site a layout site is created. The layout site occupies the remaining client area of the dock site that is not occupied by the docked control. This site is also capable of serving as a host for dock controls. If a dock control is docked to it, another layout site is created filling the remaining area of the first layout site not occupied by its child dock control.

Layout sites allow the creation of any structure of dock controls. If there were no layout sites, docking controls to the neighboring edges would lead to an automatic arrangement. This means that the dock site would automatically decide which of dock controls would occupy the entire edge and which would partially occupy its edge. Layout sites give you the ability to choose whether the dock control needs to be docked to the dock site (filling their edge entirely) or to the layout site (filling their edge partially). Please refer to the Layout Sites topic for details.

Most layout site settings are inherited from its ancestor – the TdxCustomDockSite class. The TdxLayoutDockSite class introduces a single SiblingDockControl property that returns the site’s neighboring dock control.

See Also