WindowsUIButtonPanel.ButtonClick Event
Occurs when a regular (push) WindowsUIButton is clicked within the current WindowsUIButtonPanel.
Namespace: DevExpress.XtraBars.Docking2010
Assembly: DevExpress.XtraBars.v18.1.dll
Declaration
Event Data
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. |
Remarks
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ButtonClick event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.