Skip to main content

TdxTabContainerDockSite Class

Represents the tab container site.

Declaration

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