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

DockManager.RegisterDockPanel Event

Occurs when a new panel is registered within the dock manager.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Docking")]
public event DockPanelEventHandler RegisterDockPanel

Event Data

The RegisterDockPanel event's data class is DockPanelEventArgs. The following properties provide information specific to this event:

Property Description
Panel Gets the processed dock panel.

Remarks

When a new panel is registered within the dock manager the RegisterDockPanel event is fired. This event can be handled, for instance to customize the dock panel when it’s created.

A panel is registered within the dock manager in the following cases:

When a panel is removed from the dock manager the DockManager.UnregisterDockPanel event is fired. This occurs when a panel is destroyed or moved to another dock manager.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RegisterDockPanel event.

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