Back to Devexpress

RibbonPageGroup.ItemLinks Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonpagegroup-d051feaf.md

latest4.2 KB
Original Source

RibbonPageGroup.ItemLinks Property

Gets the collection of bar item links displayed by the current page group.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public BarItemLinkCollection ItemLinks { get; }
vb
Public ReadOnly Property ItemLinks As BarItemLinkCollection

Property Value

TypeDescription
BarItemLinkCollection

A BarItemLinkCollection object that stores bar item links displayed by the group.

|

Remarks

Use the RibbonPageGroup.Items property to add elements (bar items and bar item links) to the RibbonPageGroup.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ItemLinks 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-bind-spreadsheet-to-ms-sql-server-database/CS/WpfSpreadsheet_BindToDataSource/MainWindow.xaml#L1196

xml
<dxr:RibbonPageGroup x:Name="grpFileCommon" Caption="{Binding ConverterParameter=Caption_GroupCommon, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}" ShowCaptionButton="False">
    <dxr:RibbonPageGroup.ItemLinks>
        <dxb:BarButtonItemLink BarItemName="biFileNew" />

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

xml
<dxr:RibbonPageGroup x:Name="grpFileCommon" Caption="{Binding ConverterParameter=Caption_GroupCommon, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}" ShowCaptionButton="False">
    <dxr:RibbonPageGroup.ItemLinks>
        <dxb:BarButtonItemLink BarItemName="biFileNew" />

wpf-spreadsheet-bind-a-worksheet-to-generic-list-or-bindinglist-data-source/CS/DataBindingToListExample/MainWindow.xaml#L548

xml
<dxr:RibbonPageGroup x:Name="grpFileCommon" Caption="{Binding ConverterParameter=Caption_GroupCommon, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}" ShowCaptionButton="False">
    <dxr:RibbonPageGroup.ItemLinks>
        <dxb:BarButtonItemLink BarItemName="biFileNew"/>

See Also

Items

Items and Links

RibbonPageGroup Class

RibbonPageGroup Members

DevExpress.Xpf.Ribbon Namespace