RibbonPageGroup.Caption Property
Gets or sets the text displayed within the group. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.2.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
String | A string which specifies the text displayed within the group. |
Remarks
Use this property to specify the text that is displayed within the group. The following image demonstrates two groups whose Caption properties are set to “File” and “Edit” respectively:
To apply a style to paint the caption in a custom manner, use RibbonControl.GroupCaptionTextStyle.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Caption property.
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.