DockPanel.ActiveChild Property

Gets or sets the currently active child dock panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.1.dll


public DockPanel ActiveChild { get; set; }

Property Value

Type Default Description


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


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