Skip to main content
A newer version of this page is available. .

XtraTabControl.TabMiddleClickFiringMode Property

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

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(TabMiddleClickFiringMode.Default)]
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