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

XtraTabControl.TabMiddleClickFiringMode Property

Gets or sets if and when the XtraTabControl.TabMiddleClick event fires.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(TabMiddleClickFiringMode.Default)]
[DXCategory("Behavior")]
public virtual TabMiddleClickFiringMode TabMiddleClickFiringMode { get; set; }

#Property Value

Type Default Description
TabMiddleClickFiringMode Default

A TabMiddleClickFiringMode value that specifies if and when the XtraTabControl.TabMiddleClick event fires.

Available values:

Name Description
Default

The default behavior. For the XtraTabControl, this option is equivalent to None.

MouseDown

A TabMiddleClick event fires on pressing the middle mouse button over a tab (before the button is released).

MouseUp

A TabMiddleClick event fires on clicking the middle mouse button over a tab (after the button is released).

None

A TabMiddleClick event does not fire.

#Remarks

By default, the XtraTabControl.TabMiddleClick event doesn’t fire. To make it fire, set the TabMiddleClickFiringMode property to MouseDown or MouseUp.

See Also