windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-windowsuibuttonpanel-5198bf16.md
Occurs when a regular (push) WindowsUIButton is clicked within the current WindowsUIButtonPanel.
Namespace : DevExpress.XtraBars.Docking2010
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Behavior")]
public event ButtonEventHandler ButtonClick
<DXCategory("Behavior")>
Public Event ButtonClick As ButtonEventHandler
The ButtonClick event's data class is ButtonEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Button | Gets a custom header button or a custom Win8 button associated with the current event. |
The ButtonClick event is fired immediately after an end-user clicks a button within a WindowsUIButtonPanel and releases the mouse button. This event is fired for regular buttons only (buttons with the IButtonProperties.Style property set to PushButton ) and never occurs for check buttons. These raise the WindowsUIButtonPanel.ButtonChecked and WindowsUIButtonPanel.ButtonUnchecked events instead.
See Also