BarManager.CloseButtonClick Event
Occurs when a close button (‘x’) is clicked.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v19.1.dll
Declaration
Event Data
The CloseButtonClick event's data class is EventArgs.
Remarks
If the BarManager.ShowCloseButton property is set to true, a close button (‘x’) is displayed at the right edge of the main menu. By default, clicking this button has no effect. To implement specific functionality when an end-user clicks this button, you can handle the CloseButtonClick event. For instance, you can handle this event to close the currently active window that has no title, etc.
See Also