Skip to main content

XtraTabControl.TabMiddleClickFiringMode Property

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

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.1.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