Back to Devexpress

DXTabControl.TabInserting Event

wpf-devexpress-dot-xpf-dot-core-dot-dxtabcontrol-19770eaa.md

latest1.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public event TabControlTabInsertingEventHandler TabInserting
vb
Public Event TabInserting As TabControlTabInsertingEventHandler

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

DXTabControl Class

DXTabControl Members

DevExpress.Xpf.Core Namespace