您会选择在应用程序中使用什么导航控件?
ToolStrip 与 MenuStrip 或 RibbonBar 一起使用?
它结合了这两种控件。 它还具有 TabPages 导航、上下文选项卡等。但是,RibbonBar 是一个非常复杂的控件,当您在 Word2007 中打开新文档时,屏幕的一半您会看到一个 Ribbon Bar。 这并不酷。 当您拥有 toolStrips 时,您可以将它们布局到顶部、底部、左侧、右侧,并更好地控制 UI 外观。 我们还可以隐藏我们不想看到的工具条,它们不再占用任何屏幕空间。
ToolStrip with MenuStrip or RibbonBar?
It combines both of the controls. It also have a TabPages navigation, contextual tabs, etc. However the RibbonBar is a very complex control and when you open a new document in for example Word2007 the half of the screen you see a Ribbon Bar. It is not cool. When you have toolStrips you can layout them to Top, Bottom, Left, Right and have more control of the UI look. We can also hide the toolstrips which we do not want to see and they no longer take any screen space.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
功能区看起来更现代,将有助于为您的应用程序提供现代和当前的外观。
至于可用性,我更喜欢体验,只要你不熟悉该应用程序。
对于习惯了菜单栏的应用程序来说,这是一个困难的改变,但对于新应用程序或新用户来说,这是一个很好的改进。
Ribbons look more modern, and will help to give you application a modern and current look.
As for usability, I've preferred the experience, as long as you are unfamiliar with the app.
For apps where you are used to a menubar, it's a difficult change, but for new apps or new users it's a good improvement.
带状栏
Ribbon Bar
这归结为您想要导航的内容以及您希望导航工作的复杂程度。
我更喜欢使用简单的现有应用程序来构建我的程序。
因此,在大多数情况下,如果菜单比完成任务所需的内容更复杂,我会使用 MenuStrip + X ToolStrip,或者仅使用简单的 ToolStrip。
但我不得不猜测很多人喜欢功能区栏,因为它将菜单和工具条的功能结合到一个控件中。
It boils down to what you're trying to navigate and how complex do you want the Navigation to work.
I prefer to use simple existing applications to base my programs.
Thus for the most part I use either the MenuStrip + X ToolStrips or just a simple ToolStrip if a menu is more involved than is required to get a task done.
But I would have to guess that many people like the Ribbon Bar since it combines the functionality of both Menu and ToolStrips into one control.