Skip to main content

RibbonPageGroup.CaptionButtonClick Event

Occurs when the group’s Caption Button is clicked.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public event RibbonCaptionButtonClickEventHandler CaptionButtonClick

Event Data

The CaptionButtonClick event's data class is DevExpress.Xpf.Ribbon.RibbonCaptionButtonClickEventArgs.

Remarks

If a group’s RibbonPageGroup.ShowCaptionButton property is set to true, the group displays a Caption Button.

RibbonGroup_CaptionButton

By default, clicking this button has no effect. To implement a specific functionality, handle the group’s CaptionButtonClick event or use the RibbonPageGroup.CaptionButtonCommand property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CaptionButtonClick event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also