简体   繁体   English

如何在WPF中创建导航菜单?

[英]How to create a navigation menu in WPF?

At work I am using a software which name cannot be mentioned and which content information I need to hide. 在工作中,我正在使用一个软件,该软件不能提及名称,并且需要隐藏哪些内容信息。 However, as you can see below, there is a navigation menu on the left-hand side of the application. 但是,如您在下面看到的,该应用程序的左侧有一个导航菜单。 What is it and how can I create a menu like this in C# using WPF? 这是什么,如何使用WPF在C#中创建像这样的菜单?

导航

Thanks in advance. 提前致谢。

If you want to create Such Menu you can use WPF Ribbon . 如果要创建Such Menu,可以使用WPF Ribbon

WPF Ribbon(from MSDN): WPF功能区(来自MSDN):

The ribbon control is made up several components. ribbon控件由几个组件组成。 Every ribbon has an Application Menu, a Quick Access Toolbar, tabs, groups, and controls . 每个功能区都有一个应用程序菜单,一个快速访问工具栏,选项卡,组和控件 Ribbon tabs contain groups, and each group contains controls. Ribbon选项卡包含组,每个组包含控件。 Ribbon controls include simple controls such as buttons, check boxes, and text boxes; Ribbon控件包括简单的控件,例如按钮,复选框和文本框; and menu controls such as combo boxes, split buttons, and menu buttons . 和菜单控件,例如组合框,拆分按钮和菜单按钮 Related controls can be further combined into control groups. 相关的控制可以进一步合并为对照组。 In addition to the required components, a ribbon can also include optional components, such as contextual tabs, enhanced ToolTips, and galleries. 除了必需的组件外,功能区还可以包括可选组件,例如上下文选项卡,增强的工具提示和图库。

Ream more on MSDN 在MSDN上了解更多

WPF Ribbon Example WPF功能区示例

Hope this helped you! 希望这对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM