Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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