Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockLayoutManager.BeforeItemAdded Event

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

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public event BeforeItemAddedEventHandler BeforeItemAdded

#Event Data

The BeforeItemAdded event's data class is DevExpress.Xpf.Docking.Base.BeforeItemAddedEventArgs.

#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