Skip to main content

BaseContentContainer.ButtonClick Event

Occurs when a regular Custom Button within the current Content Container is clicked.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual event ButtonEventHandler ButtonClick

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

Content Containers can display WindowsUI Buttons of two types: regular (push) buttons and check-buttons. The ButtonClick event occurs when a regular Custom Button is clicked. Clicking a check-button changes its current check state, so check buttons raise the BaseContentContainer.ButtonChecked and BaseContentContainer.ButtonUnchecked events instead. See the WindowsUI Buttons topic to learn more.

See Also