Back to Devexpress

DocumentGroup.TabMouseActivating Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-documentgroup-27608e2d.md

latest2.8 KB
Original Source

DocumentGroup.TabMouseActivating Event

Occurs when an end-user clicks a tab page header within the current DocumentGroup to activate a corresponding Document.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event DocumentCancelEventHandler TabMouseActivating
vb
Public Event TabMouseActivating As DocumentCancelEventHandler

Event Data

The TabMouseActivating event's data class is DocumentCancelEventArgs. 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.
DocumentThe Document related to the current event.

Remarks

The TabMouseActivating event fires whenever an end-user clicks a Document‘s page header, whether this tab has already been activated or not.

The TabMouseActivating event allows you to react to an end-user clicking tab headers in individual DocumentGroups. To perform global actions when clicking tab headers within an entire View, handle the TabbedView.TabMouseActivating event instead.

See Also

TabMouseActivating

DocumentGroup Class

DocumentGroup Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace