Back to Devexpress

WindowsUIButtonPanel.ButtonChecked Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-windowsuibuttonpanel-b2735043.md

latest2.8 KB
Original Source

WindowsUIButtonPanel.ButtonChecked Event

Occurs when an end-user checks a WindowsUIButton within the current WindowsUIButtonPanel.

Namespace : DevExpress.XtraBars.Docking2010

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public event ButtonEventHandler ButtonChecked
vb
<DXCategory("Behavior")>
Public Event ButtonChecked As ButtonEventHandler

Event Data

The ButtonChecked event's data class is ButtonEventArgs. The following properties provide information specific to this event:

PropertyDescription
ButtonGets a custom header button or a custom Win8 button associated with the current event.

Remarks

The ButtonChecked event is fired for check buttons (buttons with the IButtonProperties.Style property set to CheckButton ) only. Unchecking these buttons fires the WindowsUIButtonPanel.ButtonUnchecked event. Check buttons do not raise the WindowsUIButtonPanel.ButtonClick event.

For multiple check-buttons combined in a single radio button group via the IButtonProperties.GroupIndex property, the ButtonChecked event is the only event raised.

See Also

ButtonClick

ButtonUnchecked

WindowsUIButtonPanel Class

WindowsUIButtonPanel Members

DevExpress.XtraBars.Docking2010 Namespace