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

TdxTabContainerDockSite Class

Represents the tab container site.

#Declaration

Delphi
TdxTabContainerDockSite = class(
    TdxContainerDockSite,
    IcxControlComponentState,
    IcxTabControl
)

#Remarks

When a dock control is docked to another control to fill its entire client area, an underlying tab container is created. This container becomes the parent of dock controls. Tab containers display the client area of a single child at a time. They also display tabs that can be used to switch between children.

Being the direct descendant of the TdxContainerDockSite class, the TdxTabContainerDockSite class inherits all the functionality relating to docking operations, auto hiding, active child management, etc. The functionality introduced relates to displaying tabs and providing child switching facilities.

The image below shows an example of a tab container’s appearance.

You can provide default settings for tab containers created at runtime as the result of docking operations. Use the DefaultTabContainerSiteProperties property of the docking manager for this purpose. Additionally, you can initialize dynamically created tab containers by handling the manager’s OnCreateTabContainer event.

Please refer to the Tab Container Sites topic for more information regarding tab containers.

See Also