Back to Devexpress

BarManager.CloseButtonClick Event

windowsforms-devexpress-dot-xtrabars-dot-barmanager-f931bb08.md

latest1.5 KB
Original Source

BarManager.CloseButtonClick Event

Fires when the close button is clicked.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Click")]
public event EventHandler CloseButtonClick
vb
<DXCategory("Click")>
Public Event CloseButtonClick As EventHandler

Event Data

The CloseButtonClick event's data class is EventArgs.

Remarks

If the ShowCloseButton option is enabled, the close button is displayed in the main menu.

The close button does not have a default action. Handle the CloseButtonClick event to respond to a click on the button. For instance, you can close the active window.

See Also

ShowCloseButton

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace