Back to Devexpress

RibbonPageCategoryBase.Caption Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonpagecategorybase-48fb1cfc.md

latest4.6 KB
Original Source

RibbonPageCategoryBase.Caption Property

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

Declaration

csharp
public string Caption { get; set; }
vb
Public Property Caption As String

Property Value

TypeDescription
String

A string that specifies the category’s caption.

|

Remarks

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.

wpf-spreadsheet-assign-custom-in-place-editors/CS/WpfSpreadsheet_CustomCellEditors/MainWindow.xaml#L1412

xml
</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}}">

wpf-spreadsheet-bind-spreadsheet-to-ms-sql-server-database/CS/WpfSpreadsheet_BindToDataSource/MainWindow.xaml#L1442

xml
</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}}">

wpf-diagram-ms-automatic-graph-layout-algorithms/CS/DXDiagram.CustomLayoutAlgorithms/MainWindow.xaml#L12

xml
<dxr:RibbonControl DockPanel.Dock="Top">
    <dxr:RibbonPageCategory Caption="MSAGL">
        <dxr:RibbonPage Caption="Layout Actions">

wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L200

xml
<dxr:RibbonPageCategory x:Name="categorySelection"
                            Caption="Selection"
                            Color="Yellow"

wpf-scheduler-disable-resource-colorization/CS/DXSample/MainWindow.xaml#L21

xml
ShowApplicationButton="False">
<dxr:RibbonPageCategory Caption="Appearance">
    <dxr:RibbonPage Caption="Themes">

See Also

RibbonPageCategoryBase Class

RibbonPageCategoryBase Members

DevExpress.Xpf.Ribbon Namespace