Skip to main content

DockLayoutManager.BeforeItemAdded Event

Fires before an item is added to the current DockLayoutManager object.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v14.2.dll

#Declaration

public event BeforeItemAddedEventHandler BeforeItemAdded

#Event Data

The BeforeItemAdded event's handler receives an argument of the DevExpress.Xpf.Docking.Base.BeforeItemAddedEventArgs type.

#Remarks

Handle the BeforeItemAdded event to specify actions to be performed immediately before an item (the BaseLayoutItem descendant) is added to the current DockLayoutManager. For instance, you might want an additional item validation to be performed before an item is added.

See Also