Back to Devexpress

DockPanel.ActiveChild Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-ff0f05d9.md

latest2.6 KB
Original Source

DockPanel.ActiveChild Property

Gets or sets the currently active child dock panel.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DockPanelnull

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 ( ) button in its caption.

See Also

ActiveChildIndex

ParentPanel

Count

Dock Panels

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace