DockPanel.CustomButtonUnchecked Event

Fires when a custom header button is unchecked.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public event ButtonEventHandler CustomButtonUnchecked
Public Event CustomButtonUnchecked As ButtonEventHandler

Event Data

The CustomButtonUnchecked 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 CustomButtonUnchecked is fired by custom header buttons of check button type only. Regular (push) buttons and group radio buttons do not raise this event. The button type is specified via the IButtonProperties.Style and IButtonProperties.GroupIndex properties.

The CustomButtonUnchecked is a common event for the entire DockPanel. To identify exactly which custom button was checked, use the ButtonEventArgs.Button or IButtonProperties.Tag properties.

See the Header Buttons topic to learn more.

See Also