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

TdxContainerDockSite Class

Serves as the base for container sites.

#Declaration

Delphi
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