wpf-devexpress-dot-xpf-dot-ribbon-dc9abb8a.md
A Ribbon UI status bar.
Namespace : DevExpress.Xpf.Ribbon
Assembly : DevExpress.Xpf.Ribbon.v25.2.dll
NuGet Package : DevExpress.Wpf.Ribbon
[DXLicenseWpf]
public class RibbonStatusBarControl :
Control,
IRibbonStatusBarControl,
ILogicalChildrenContainer,
IMultipleElementRegistratorSupport,
IBarNameScopeSupport,
IInputElement,
IMergingSupport,
IHierarchicalMergingSupport<RibbonStatusBarControl>
<DXLicenseWpf>
Public Class RibbonStatusBarControl
Inherits Control
Implements IRibbonStatusBarControl,
ILogicalChildrenContainer,
IMultipleElementRegistratorSupport,
IBarNameScopeSupport,
IInputElement,
IMergingSupport,
IHierarchicalMergingSupport(Of RibbonStatusBarControl)
The following members return RibbonStatusBarControl objects:
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.
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.
<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>
The following code snippets (auto-collected from DevExpress Examples) contain references to the RibbonStatusBarControl class.
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-scheduler-use-entity-framework-to-bind-to-data/CS/DXSample/MainWindow.xaml#L20
ShowApplicationButton="False" />
<dxr:RibbonStatusBarControl DockPanel.Dock="Bottom"/>
<dxdo:DockLayoutManager AutoHideMode="Inline">
wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L263
<!--region #RibbonStatusBarControl-->
<dxr:RibbonStatusBarControl Grid.Row="2" Name="StatusBar" IsSizeGripVisible="True" Grid.ColumnSpan="2">
<dxr:RibbonStatusBarControl.RightItems>
wpf-docklayoutmanager-merge-ribbon-controls/CS/WpfApplication1/MainWindow.xaml#L24
</dxr:RibbonControl>
<dxr:RibbonStatusBarControl DockPanel.Dock="Bottom" MDIMergeStyle="Always">
<dxr:RibbonStatusBarControl.LeftItems>
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control RibbonStatusBarControl
See Also