Back to Devexpress

DXTabControl.TabStartDragging Event

wpf-devexpress-dot-xpf-dot-core-dot-dxtabcontrol-1c36727f.md

latest2.1 KB
Original Source

DXTabControl.TabStartDragging Event

Fires when a user starts dragging the tab in the tab control.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public event TabControlTabStartDraggingEventHandler TabStartDragging
vb
Public Event TabStartDragging As TabControlTabStartDraggingEventHandler

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
ItemGets the tab item that raised the event. Inherited from TabControlCommonCancelEventArgsBase.
TabIndexGets the index of the tab that raised the event. Inherited from TabControlCommonCancelEventArgsBase.

Remarks

The TabStartDragging event allows you to prevent the tab from being dragged. To cancel the tab dragging, set the event parameter’s Cancel property to true.

See Also

DXTabControl Class

DXTabControl Members

DevExpress.Xpf.Core Namespace