windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-86090d61.md
Gets or sets if and when the XtraTabControl.TabMiddleClick event fires.
Namespace : DevExpress.XtraTab
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(TabMiddleClickFiringMode.Default)]
[DXCategory("Behavior")]
public virtual TabMiddleClickFiringMode TabMiddleClickFiringMode { get; set; }
<DXCategory("Behavior")>
<DefaultValue(TabMiddleClickFiringMode.Default)>
Public Overridable Property TabMiddleClickFiringMode As TabMiddleClickFiringMode
| 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.
|
By default, the XtraTabControl.TabMiddleClick event doesn’t fire. To make it fire, set the TabMiddleClickFiringMode property to MouseDown or MouseUp.
See Also