https://documentation.devexpress.com/#WindowsForms/CustomDocument2498
官方文档说明
A Ribbon Status Bar (RibbonStatusBar) is displayed at the bottom of a parent window (form).
It is typically used to display various kinds of status information, zoom controls, etc.
All items displayed within a Ribbon Status Bar are item links.
The collection of item links that are owned by the status bar can be accessed via the RibbonStatusBar.ItemLinks property.
This collection provides methods that can be used to add, delete, access individual link objects and perform other common collection management tasks.
At design time, you can add items to the Ribbon Status Bar using a context menu.
The Ribbon Status Bar supports a built-in size grip, which allows an end-user to resize the window by dragging.
The visibility of the size grip is controlled by the RibbonStatusBar.ShowSizeGrip property.
Note:
The RibbonStatusBar must be associated with a RibbonControl. When you drop a RibbonStatusBar onto the form at design time, it is automatically linked to an existing RibbonControl via the RibbonStatusBar.Ribbon property. When you create a RibbonStatusBar at runtime, you need to manually set the RibbonStatusBar.Ribbon property to an existing RibbonControl.
RibbonStatusBar 必须要有对应的RibbonControl,拖动一个RibbonControl到form上,如果不需要附带的其他的控件(ribbonPage1,ribbonPageGroup1),可以直接删除。
Note:
It is not recommended to use multiple Ribbon Status Bars within the same form. If your form is derived from the RibbonForm class, only the Ribbon Status Bar added last is visible, while all the previously added Status Bars are hidden.
添加成员
BarHeaderItem
https://documentation.devexpress.com/#WindowsForms/clsDevExpressXtraBarsBarHeaderItemtopic
Displays static text using a heading style which is determined by the current skin.
The text is typically painted bold出题 against a background that is different from the background of regular buttons.
Use BarHeaderItem to add headers to a PopupMenu or BarSubItem (sub-menu) to separate sets of items.
Remarks
BarHeaderItem is a bar item that can be added to a PopupMenu or BarSubItem (sub-menu) to give a caption to a set of items that follow this BarHeaderItem.
The items that follow the BarHeaderItem in the PopupMenu/BarSubItem are arranged in one column by default.
You can arrange them in multiple columns by setting the MultiColumn property to True.
Multi-column mode settings (including the number of columns and item text visibility) can be customized using the OptionsMultiColumn property.
To enable multi-column mode for all items in the PopupMenu and BarSubItem, use the PopupMenu.MultiColumn and BarLinkContainerItem.MultiColumn inherited property, respectively.
If the BarHeaderItem.MultiColumn property is set to Default, the multi-column mode availability is specified by the MultiColumn property of the item's owner menu.
It is possible to customize multi-column mode settings in a centralized way, using these properties:
- PopupMenu.OptionsMultiColumn - Specifies multi-column mode settings for all items in the PopupMenu.
- BarLinkContainerItem.OptionsMultiColumn - Specifies multi-column mode settings for all items in the sub-menu.
- BarManagerProperties.OptionsMultiColumn (accessible using the BarAndDockingController.PropertiesBar property) - Specifies multi-column mode settings for all popup menus and sub-menus.
See Replicate Existing Bar Items. Bar Item Links to learn more.
Note:
If you only need to display a caption at the top of the PopupMenu, use the PopupMenu.MenuCaption and PopupMenu.ShowCaption properties.
BarStaticItem
https://documentation.devexpress.com/#WindowsForms/clsDevExpressXtraBarsBarStaticItemtopic
Represents a bar item with a look and feel similar to the StatusbarPanel.
设置控件显示在RibbonStatusBar的右侧
设置Alignment为Right
Remarks
This class combines the functionality of the BarItem and a Status Panel (See StatusBarPanel in MSDN).
With this item, you can create a Status bar-like panel within your application form.
A status panel is often used to display static information or data which cannot be modified by a user.
You are allowed to change its width, right and left indents and content alignment within the item.
The AutoSize property specifies how the item link is located within the bar.
Each link for this item can have its own caption.
Note:
If you create Bar Items in code, note that these objects may not function properly without being associated with a BarManager or RibbonControl.
To create a Bar Item, use a Bar Item constructor that has the BarManager parameter.
When creating a Bar Item in code for use within a RibbonControl, use a Bar Item constructor that has the BarManager parameter, and pass the RibbonControl.Manager object as this parameter.
Ribbon Status Bar的更多相关文章
-
status bar、navigationBar、tableView吸顶view设置
1. 隐藏navigationBar self.navigationController.navigationBar.hidden = YES; 2. status bar设置 -(void)view ...
-
iOS7下隐藏status bar的详细研究
info.plist文件中,View controller-based status bar appearance项设为YES,则View controller对status bar的设置优先级高于a ...
-
Java基础之扩展GUI——添加状态栏(Sketcher 1 with a status bar)
控制台程序. 为了显示各个应用程序参数的状态,并且将各个参数显示在各自的面板中,在应用程序窗口的底部添加状态栏是常见且非常方便的方式. 定义状态栏时没有Swing类可用,所以必须自己建立StatusB ...
-
与Status Bar和Navigation Bar相关的一些东西
Android Navigation Bar Status Bar 与StatusBar和NavigationBar相关的东西有两种,一是控制它们的显示与隐藏,二是控制它们的透明与否及背景. 在2 ...
-
iOS-修改Status Bar
一.在info.plist文件中添加一行不但要在 Status bar is initially hidden一行,选择为 YES. 二.在didFinishLaunchingWithOptions方 ...
-
Showing progress bar in a status bar pane
在工具卡显示进度条,原文链接:http://www.codeproject.com/Articles/35/Showing-progress-bar-in-a-status-bar-pane 1.构造 ...
-
Customizing Navigation Bar and Status Bar
Like many of you, I have been very busy upgrading my apps to make them fit for iOS 7. The latest ver ...
-
iOS7 status bar 样式问题
在ios7中,有如下status bar 样式 typedef NS_ENUM(NSInteger, UIStatusBarStyle) { UIStatusBarStyleDefault = , / ...
-
Status Bar in iOS7
This is a very important change in iOS 7: the status bar is no longer a separate bar. It’s now somet ...
随机推荐
-
django上传图片
django修改头像的功能... 1.在表单中加入enctype="multipart/form-data: 关于表单中enctype的介绍:http://www.w3school.com. ...
-
Ubuntu下类似于Total Commander的两个工具
Total Commander for linux Is there a Linux version? Unfortunately not. Because of problems with port ...
-
ActivityGroup中EditText无法删除的问题
坑,以前比较少用ActivityGroup,最近使用才发现ActivityGroup中多个Activity中如果都有Edittext是无法后退删除. 网上说有种方法监听dispatchKeyEvent ...
-
Jordan Lecture Note-1: Introduction
Jordan Lecture Note-1: Introduction 第一部分要整理的是Jordan的讲义,这份讲义是我刚进实验室时我们老师给我的第一个任务,要求我把讲义上的知识扩充出去,然后每周都 ...
-
07_例子讲解:rlCoachKin + rlCoachMdl
RL提供了2个相当简单的基于socket的虚拟化机器人,是socket服务端. rlCoachKin是用于D-H运动链(在rlkin\*xml中定义的). rlCoachMdl相当于任意几何的工具链. ...
-
VC中利用多线程技术实现线程之间的通信
当前流行的Windows操作系统能同时运行几个程序(独立运行的程序又称之为进程),对于同一个程序,它又可以分成若干个独立的执行流,我们称之为线程,线程提供了多任务处理的能力.用进程和线程的观点来研究软 ...
-
JavaScript 逗号表达式
逗号表达式的一般形式是:表达式1,表达式2,表达式3……表达式n 逗号表达式的求解过程是:先计算表达式1的值,再计算表达式2的值,……一直计算到表达式n的值.最后整个逗号表达式的值是表达式n的值. ...
-
SQL优化 MySQL版 - 多表优化及细节详讲
多表优化及细节详讲 作者 : Stanley 罗昊 [转载请注明出处和署名,谢谢!] 注:本文章需要MySQL数据库优化基础或观看前几篇文章,传送门: B树索引详讲(初识SQL优化,认识索引):htt ...
-
Linux下 niginx部署
部署nginx 一.新建文件夹,给放文件 conf 二.写入主页文件 三.复制配置文件 四.修改配置文件80 五.修改media 六. pkill -9 ng ...
-
IIS日志导致磁盘被占满
某服务器只部署了个IIS,应用目录都在D盘,可C盘97.5GB空间却被占满了. 将系统文件,隐藏文件全部显示,再选中所有的C盘文件及文件夹查看容量只有19GB. 既然只部署了IIS,那自然就怀疑到了I ...