Back to Devexpress

RibbonStatusBarControl.LeftItemLinks Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonstatusbarcontrol-05b6d408.md

latest2.7 KB
Original Source

RibbonStatusBarControl.LeftItemLinks Property

Gets the collection of links displayed on the left of the RibbonStatusBar.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

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

Property Value

TypeDescription
BarItemLinkCollection

A BarItemLinkCollection object that stores the links displayed on the left of the RibbonStatusBar.

|

Remarks

Add item links to this collection to display them on the left of the RibbonStatusBar. To display items on the right of the status bar, use the RibbonStatusBarControl.RightItemLinks collection.

Example

This example shows how to add commands to a RibbonStatusBarControl. The commands are added to the RibbonStatusBarControl.RightItems and RibbonStatusBarControl.LeftItems collections. So, they will be aligned to the bar’s right and left edges, respectively.

View Example

xaml
<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"/>
    </dxr:RibbonStatusBarControl.RightItems>
    <dxr:RibbonStatusBarControl.LeftItems>
        <dxb:BarStaticItem Name="bPosInfo" ItemMinWidth="150"/>

    </dxr:RibbonStatusBarControl.LeftItems>
</dxr:RibbonStatusBarControl>

See Also

RightItemLinks

RibbonStatusBarControl Class

RibbonStatusBarControl Members

DevExpress.Xpf.Ribbon Namespace