RibbonStatusBarControl Class

A Ribbon UI status bar.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v20.1.dll

Declaration

public class RibbonStatusBarControl :
    Control,
    IRibbonStatusBarControl,
    ILogicalChildrenContainer,
    IMultipleElementRegistratorSupport,
    IBarNameScopeSupport,
    IInputElement,
    IMergingSupport,
    IHierarchicalMergingSupport<RibbonStatusBarControl>
Public Class RibbonStatusBarControl
    Inherits Control
    Implements IRibbonStatusBarControl,
               ILogicalChildrenContainer,
               IMultipleElementRegistratorSupport,
               IBarNameScopeSupport,
               IInputElement,
               IMergingSupport,
               IHierarchicalMergingSupport(Of RibbonStatusBarControl)

Related API Members

The following members accept/return RibbonStatusBarControl objects:

Remarks

A status bar is typically positioned at the bottom of a parent window, and it usually displays various kinds of status information, providing helpful feedback to end-users.

Commands, submenus, static text, editors and other in-ribbon elements are represented by bar items and bar item links.

To add elements to the RibbonStatusBarControl, use the RibbonStatusBarControl.LeftItems and/or RibbonStatusBarControl.RightItems collections.

To learn more, see Ribbon Status Bar.

Examples

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.RibbonControl_Ex

<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