CloseTabOnMiddleClick Enum
Lists values that specify if and when tabs will be closed on a mouse middle button click.
Namespace: DevExpress.XtraTabbedMdi
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Members
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. |
Related API Members
The following properties accept/return CloseTabOnMiddleClick values:
Remarks
You can specify if a mouse middle button click closes a tab for the following components:
- For the XtraTabbedMdiManager - via the XtraTabbedMdiManager.CloseTabOnMiddleClick property.
- For the DocumentManager - via the IDocumentGroupProperties.CloseTabOnMiddleClick and the IDocumentGroupDefaultProperties.CloseTabOnMiddleClick properties.