wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonpagecategorybase-48fb1cfc.md
Gets or sets the category’s caption. This property is not in effect for the default page category. This is a dependency property.
Namespace : DevExpress.Xpf.Ribbon
Assembly : DevExpress.Xpf.Ribbon.v25.2.dll
NuGet Package : DevExpress.Wpf.Ribbon
public string Caption { get; set; }
Public Property Caption As String
| Type | Description |
|---|---|
| String |
A string that specifies the category’s caption.
|
This property is not in effect for the default page category.
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.
</dxr:RibbonDefaultPageCategory>
<dxr:RibbonPageCategory x:Name="catChartTools" Caption="{Binding ConverterParameter=Caption_PageCategoryChartTools, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}" dxo:AttachedCommand.Command="{Binding ToolsChartCommandGroup, Mode=OneTime, Source={StaticResource commands}}">
<dxr:RibbonPage x:Name="pageChartToolsDesign" Caption="{Binding ConverterParameter=Caption_PageChartsDesign, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}">
</dxr:RibbonDefaultPageCategory>
<dxr:RibbonPageCategory x:Name="catChartTools" Caption="{Binding ConverterParameter=Caption_PageCategoryChartTools, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}" Custom:AttachedCommand.Command="{Binding ToolsChartCommandGroup, Mode=OneTime, Source={StaticResource commands}}">
<dxr:RibbonPage x:Name="pageChartToolsDesign" Caption="{Binding ConverterParameter=Caption_PageChartsDesign, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}">
<dxr:RibbonControl DockPanel.Dock="Top">
<dxr:RibbonPageCategory Caption="MSAGL">
<dxr:RibbonPage Caption="Layout Actions">
wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L200
<dxr:RibbonPageCategory x:Name="categorySelection"
Caption="Selection"
Color="Yellow"
wpf-scheduler-disable-resource-colorization/CS/DXSample/MainWindow.xaml#L21
ShowApplicationButton="False">
<dxr:RibbonPageCategory Caption="Appearance">
<dxr:RibbonPage Caption="Themes">
See Also