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

DockPanel.ActiveChild Property

Gets or sets the currently active child dock panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DefaultValue(null)]
public DockPanel ActiveChild { get; set; }

#Property Value

Type Default Description
DockPanel null

A DockPanel object representing the currently active child dock panel. null (Nothing in Visual Basic) if no child panel is currently active.

#Remarks

The dock panels can serve as a container for other dock panels. In this case, the currently active dock panel is specified by its container panel’s ActiveChild property. Note that only one active dock panel can be displayed on a container dock panel at a time.

The active child panel can also be specified using the DockPanel.ActiveChildIndex property.

End-users can change the active child of a tab container by switching between tabs. For a split container, they need to maximize a dock panel by pressing the maximize (Maximize_button) button in its caption.

See Also