Back to Devexpress

RibbonControl.PageGroupCaptionButtonClick Event

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-ea081e24.md

latest2.8 KB
Original Source

RibbonControl.PageGroupCaptionButtonClick Event

Enables you to perform actions when end-users click group caption buttons.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Action")]
public event RibbonPageGroupEventHandler PageGroupCaptionButtonClick
vb
<DXCategory("Action")>
Public Event PageGroupCaptionButtonClick As RibbonPageGroupEventHandler

Event Data

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

PropertyDescription
PageGroupGets the processed page group.

Remarks

Group caption buttons are located at the right bottom corner of group captions.

These buttons have no default action. Each time an end-user clicks group caption button the PageGroupCaptionButtonClick event is raised. You can handle this event to associate these buttons with additional commands (for example, a dialog with a set of additional options can be displayed).

The event parameter’s RibbonPageGroupEventArgs.PageGroup property identifies the page group whose caption button has been clicked.

To perform actions when end-users click caption buttons of individual page groups, handle the group’s RibbonPageGroup.CaptionButtonClick event.

See Also

CaptionButtonClick

CaptionButtonVisible

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace