Back to Devexpress

IDocumentGroupDefaultProperties.ActualCloseTabOnMiddleClick Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentgroupdefaultproperties-e1b48edf.md

latest4.1 KB
Original Source

IDocumentGroupDefaultProperties.ActualCloseTabOnMiddleClick Property

Gets the actual value that determines if tabs in the current document group will be closed on a mouse middle click.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
CloseTabOnMiddleClick ActualCloseTabOnMiddleClick { get; }
vb
ReadOnly Property ActualCloseTabOnMiddleClick As CloseTabOnMiddleClick

Property Value

TypeDescription
CloseTabOnMiddleClick

The actual CloseTabOnMiddleClick value that determines if tabs in the current document group will be closed on a mouse middle click.

|

Available values:

NameDescription
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 a View’s IDocumentGroupProperties.CloseTabOnMiddleClick property to determine if tabs in document groups will be closed on a mouse middle click. This setting is applied to all document groups by default. The IDocumentGroupDefaultProperties.CloseTabOnMiddleClick property allows you to override the IDocumentGroupProperties.CloseTabOnMiddleClick property for the current document group. To override the default setting, set the IDocumentGroupDefaultProperties.CloseTabOnMiddleClick property to any CloseTabOnMiddleClick value except Default.

The ActualCloseTabOnMiddleClick property determines if tabs in the current document group will actually be closed on a mouse middle click, based on a View’s IDocumentGroupProperties.CloseTabOnMiddleClick and the current group’s IDocumentGroupDefaultProperties.CloseTabOnMiddleClick properties.

See Also

IDocumentGroupProperties.CloseTabOnMiddleClick

IDocumentGroupDefaultProperties.CloseTabOnMiddleClick

IDocumentGroupDefaultProperties Interface

IDocumentGroupDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace