Skip to main content
A newer version of this page is available. .

TdxContainerDockSite Class

Serves as the base for container sites.

Declaration

TdxContainerDockSite = class(
    TdxCustomDockSite
)

Remarks

The TdxContainerDockSite class implements the common functionality of container sites. It serves as the ancestor for tab containers and side containers. Both these container types are capable of holding several dock controls within them. Each dock control within a container can become the active child. For tab containers, the active child is the dock control whose corresponding tab is currently selected. For side containers, the active child is the maximized dock control. The TdxContainerDockSite class introduces the ActiveChildIndex and ActiveChild properties to allow setting or obtaining the active child control via code. Additionally, the OnActiveChildChanged event is implemented to respond to changing the active child.

Container dock controls, like dock panels, can be docked or made floating either by end-users or via code. They are capable of displaying their own caption and this is used to manage them. The actual behavior of container control depends on docking manager options. You can access these options via the manager’s Options property.

See Also