Back to Devexpress

RibbonStatusBarControl.RightItems Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonstatusbarcontrol-b18f7f79.md

latest3.5 KB
Original Source

RibbonStatusBarControl.RightItems Property

Provides access to bar items and bar item links displayed at the RibbonStatusBarControl‘s right.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public CommonBarItemCollection RightItems { get; }
vb
Public ReadOnly Property RightItems As CommonBarItemCollection

Property Value

TypeDescription
DevExpress.Xpf.Bars.CommonBarItemCollection

A DevExpress.Xpf.Bars.CommonBarItemCollection collection that stores bar items and bar item links displayed at the RibbonStatusBarControl‘s right.

|

Remarks

You can display items on the left and right sides of the RibbonStatusBarControl, by adding items to the RibbonStatusBarControl.LeftItems and RightItems collections, respectively.BarItem and BarItemLink descendants can be added to these collections.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RightItems 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-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L264

xml
<dxr:RibbonStatusBarControl Grid.Row="2" Name="StatusBar" IsSizeGripVisible="True" Grid.ColumnSpan="2">
    <dxr:RibbonStatusBarControl.RightItems>
        <dxb:BarStaticItem Name="bFileName" ItemMinWidth="150" AutoSizeMode="Fill" Content="Binding"/>

wpf-docklayoutmanager-merge-ribbon-controls/CS/WpfApplication1/MainWindow.xaml#L31

xml
</dxr:RibbonStatusBarControl.LeftItems>
<dxr:RibbonStatusBarControl.RightItems>
    <dxb:BarCheckItem x:Name="biLeft" Glyph="{dx:DXImage Image=AlignLeft_16x16.png}" GroupIndex="1" IsChecked="True" MergeType="MergeItems"/>

See Also

LeftItems

Populating Ribbon

RibbonStatusBarControl Class

RibbonStatusBarControl Members

DevExpress.Xpf.Ribbon Namespace