DockPanel.ActiveChild Property

Gets or sets the currently active child dock panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue(null)]
public DockPanel ActiveChild { get; set; }
<Browsable(False)>
<DefaultValue(Nothing)>
Public Property ActiveChild As DockPanel

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