Skip to main content

XtraTabbedMdiManager.CloseTabOnMiddleClick Property

Gets or sets the value that determines if tabs will be closed on a mouse middle click.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
CloseTabOnMiddleClick Default

A CloseTabOnMiddleClick value that determines if tabs will be closed on a mouse middle click.

Available values:

Name Description
Default

The default behavior. Typically, this option is the same as the CloseTabOnMiddleClick.OnMouseDown option.

OnMouseDown

Specifies that tabs will be closed on pressing the mouse middle button over a tab (before the mouse middle button is released).

OnMouseUp

Specifies that tabs will be closed on releasing the mouse middle button over a tab.

Never

Specifies that tabs will never be closed by a mouse middle click.

Remarks

Use the CloseTabOnMiddleClick property to specify if tabs will be closed on a mouse middle click. See the CloseTabOnMiddleClick enumeration for a description of available options.

See Also