简体   繁体   English

在Visual Studio 2010 C#中安装对功能区窗口的支持

[英]Install support for ribbon window in Visual studio 2010 C#

I have a licensed version of Visual studo 2010 on a Windows 7 machine and want to make an ordinary stand alone windows application with the "ribbon window" look and feel in C#. 我在Windows 7计算机上拥有Visual studo 2010的许可版本,并希望使用C#中的“功能区窗口”外观制作普通的独立Windows应用程序。

But I seems not to be able to create a new project "WPF window ribbon style", there is no such option (ribbon style) when I am about to create a new project nor does all those different downloads I have done from msn helped. 但是我似乎无法创建一个新的项目“ WPF窗口丝带样式”,当我要创建一个新项目时没有这样的选项(丝带样式),我从msn所做的所有不同下载都没有帮助。 ( http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11877 ) http://www.microsoft.com/download/zh-CN/details.aspx?displaylang=en&id=11877

There is no "ribbon stuff" among the "All WPF Controls" either. 在“所有WPF控件”中也没有“功能区”。

Is it wrong to assume that the "ribbon style" should appear as an option when you create a new project, is it something I have to manually add in the xaml file for the main window or is there a magic download link that fix everything which I have not discovered ? 假设在创建新项目时应该以“色带样式”作为选项出现是错误的吗?是我必须手动将xaml文件添加到主窗口中吗,还是有一个神奇的下载链接来修复所有问题?我还没有发现?

I even tried to download "Visual studio 2010 proffesional trial version on another computer but that one did not contain the ribbon thing either. 我什至尝试在另一台计算机上下载“ Visual Studio 2010专业试用版”,但该计算机也不包含功能区。

I have tried to download the "SimpleRibbon" project but Visual studio wants to "convert" it and then when I try to compile it, it says "error MSB6006: "cmd.exe" exited with code 9009". 我曾尝试下载“ SimpleRibbon”项目,但Visual Studio希望对其进行“转换”,然后在我尝试对其进行编译时,它显示“错误MSB6006:“ cmd.exe”已退出,代码为9009“。

Have a look at the WPF Toolkit. 看看WPF工具包。 The ribbon control is included in there: http://wpf.codeplex.com/wikipage?title=WPF%20Ribbon%20Preview&ProjectName=wpf . 功能区控件包含在其中: http : //wpf.codeplex.com/wikipage ?title=WPF%20Ribbon%20Preview&ProjectName =wpf Also: http://www.microsoft.com/download/en/details.aspx?id=11877 . 另外: http : //www.microsoft.com/download/en/details.aspx?id=11877

all you need is to read this article and follow the links in the lower part to download the supported and free Microsoft WPF Ribbon control: 您所需要做的就是阅读本文,并点击下部的链接,下载受支持的免费Microsoft WPF功能区控件:

Ribbon (WPF) 色带(WPF)

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

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