Skip to main content
A newer version of this page is available. .

DockPanel.ActiveChild Property

Gets or sets the currently active child dock panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v19.1.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ActiveChild property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also