Skip to main content

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

public string Caption { get; set; }

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:

RibbonGroups_File_Edit

To apply a style to paint the caption in a custom manner, use RibbonControl.GroupCaptionTextStyle.

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.

See Also