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.ActiveChild Property

Specifies the container site’s currently active child.

#Declaration

Delphi
property ActiveChild: TdxCustomDockControl read; write;

#Property Value

Type
TdxCustomDockControl

#Remarks

Use the ActiveChild property to access the currently active child of the container site. For tab containers, the active child is the child dock control whose corresponding tab is currently selected. For side containers, the active child is the maximized child control. If there is no currently active child control, the ActiveChild property returns nil.

You can also use the ActiveChild property to set the container’s active child. Assign the desired child dock control to this property to perform this. Note that assigning a control that is not the container’s child has no effect. If nil is assigned to the ActiveChild property, the container will not have an active child.

You can also activate a child dock control via:

When changing the active child, the OnActiveChildChanged event is raised.

See Also