Back to Devexpress

BaseContentContainer.ButtonClick Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-basecontentcontainer-804e01b5.md

latest3.2 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual event ButtonEventHandler ButtonClick
vb
Public Overridable Event ButtonClick As ButtonEventHandler

Event Data

The ButtonClick 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

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

ButtonChecked

ButtonUnchecked

WindowsUI Buttons

BaseContentContainer Class

BaseContentContainer Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace