Skip to main content

DXTabControl.TabInserting Event

Fires before a tab item is inserted, and allows you to prevent this action.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public event TabControlTabInsertingEventHandler TabInserting

Event Data

The TabInserting event's data class is DevExpress.Xpf.Core.TabControlTabInsertingEventArgs.

Remarks

To prevent a tab item from being inserted during a drag and drop action, set the event’s Cancel parameter to true. After an item has been inserted/dropped, the DXTabControl.TabInserted event fires.

See Also