WPF C# UI:新窗口还是选项卡?

发布于 2024-08-05 20:47:39 字数 179 浏览 4 评论 0原文

我们当前设计中的 WPF 应用程序为列表屏幕打开新窗口。我们对打开的窗口数量等没有限制。我们使用功能区控件,并且它具有选项卡支持。新窗口或新窗口哪个更好选项卡? (Windows 7 具有更好的窗口管理组等)我应该进入选项卡还是将其保留为窗口。我无法创建详细信息屏幕选项卡,因为用户单击网格中的项目进行选择和编辑。有任何有效的建议吗?提前致谢。

Our WPF application in the current design opens new windows for list screen.We don't have restrictions on the number of windows you open etc.We are using a ribbon control and well it has tab support.Which is better a new window or a tab? (With windows 7 having a better group of window management etc) Should I go in for tab or leave it as window. I can't make the detail screen tab since well the user click of a item in the grid to select and edit.Any valid suggestions? Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

等风也等你 2024-08-12 20:47:39

功能区中的选项卡不应更改视图。功能区是增强的工具栏,而不是视图更改器。

如果您通过 OfficeUI 使用 MS Ribbon,那么设计指南中有一项规定,即视图不应更改功能区的外观(除了加载上下文选项卡),并且功能区不应大规模更改视图。

关于您的问题,您的意思是您有列表/网格并且您希望视图能够更改行中的数据。例如。他们双击一行,会出现一个视图,使他们能够编辑该行?

Tabs in a Ribbon shouldn't change the view. The Ribbon is an enhanced toolbar, not a view changer.

If your using the MS Ribbon via OfficeUI, then there is a stipulation in the design guidelines that the view should never change the appearance of the ribbon (apart from loading context tabs) and that they ribbon should never wholesale change the view.

In regards to your question, do you mean that you have list/grid and you want a view to be able to change the data in the row. Eg. they double click a row, a view appears that gives them the ability to edit that row?

你在我安 2024-08-12 20:47:39

正确的方法是询问用户他们更喜欢什么。如果您不能询问用户,请问问自己 - 您认为什么更方便 - 打开\关闭窗口或在选项卡之间切换。我不会依赖 win7 任务栏,因为它的分组行为可以被禁用,或者用户可能会使用另一个操作系统。另外我建议查看 Microsoft 使用功能区的指南。

The right way is to ask your users what they like more. If you can't ask users, ask yourself - what you find more convenient - to open\close windows or switch between tabs. I wouldn't rely on win7 task bar as it's grouping behavior can be disabled or users may use another OS. Also I would suggest to check Microsoft guidelines for using ribbon.

白况 2024-08-12 20:47:39

您需要一次查看多个窗格的内容吗? Windows 允许这样做,但选项卡不允许。

选项卡使各种窗口的管理变得更加容易,但牺牲了一些灵活性。

您的用户可能在多个窗口上运行吗?

如果不了解有关您的应用程序和用户需求的更多信息,真的很难在这个问题上给您一个自信的答案。

Do you need to see more than one pane's content at once? Windows allow this, but tabs do not.

Tabs make management of the various windows easier at the expense of some flexibility.

Are your users likely to be running on multiple windows?

It is really hard to give a confident answer to you on this one without knowing more about your application and your user's requirements.

幸福不弃 2024-08-12 20:47:39

Windows 7 在应用程序的分组窗口上显示多个预览,但是对于选项卡(例如 IE),您必须编写相当好的自定义代码才能在 Windows 7 任务栏的预览中显示选项卡,在多个窗口的情况下,它将自动完成。

不仅如此,Windows 7还允许您在预览窗口上放置七个工具栏按钮,很少有人知道这一点,因为目前没有应用程序这样做。

对于选项卡,您需要进行额外的编程才能支持多窗口预览。

因此,目前最好保留多窗口解决方案。

但是,在 IE 中,如果您尝试使用 Windows 7 任务栏,选项卡不会按照预览中显示的正确顺序对齐,这可能是错误,但是可能存在某些限制,因为当用户选择选项卡进行预览时除非您将其激活,否则您将无法向他们显示预览,这就是它有点糟糕的原因。

Windows 7 displays multiple previews on grouped windows of the application, however in case of tab, like IE, you will have to write quite a good custom code to show your tabs in preview of Windows 7 taskbar, which in case of Multiple Windows, it will be done automatically.

Not only that, Windows 7 also lets you put seven toolbar buttons on the preview windows, very few people knows about it because no application currently does it.

For tabs you will need to do extra programming to support multi window preview.

So its better to stay with multi window solution for now.

However in case of IE, if you try to use Windows 7 taskbar, the tabs dont align themselves in correct order of what is displayed in preview, it could be bug, but yes there might be certain limitations because when user chooses the tab to preview you will not be able to show them preview unless you make it active and thats why its little bad.

鹤舞 2024-08-12 20:47:39

如果您想看到最好的标签,我建议您使用 Mozilla Firefox 和 Google Chrome。
请注意,选项卡可以拆分为单独的窗口,并且窗口可以作为选项卡停靠。

I recommend playing with Mozilla Firefox and Google Chrome if you want to see tabs at their finest.

Notice that tabs can be teared out into a separate window and windows can be docked as tabs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文