DropDownGallery 对象?

发布于 2024-11-01 03:43:45 字数 366 浏览 7 评论 0原文

我试图按照此链接使用 wpf 和 c# 在我的功能区栏上设置一个下拉图库: http://msdn.microsoft.com/en-us/library/dd742868(v=VS.85).aspx

我似乎无法初始化xaml 中功能区栏上的 dropdowngallery 对象无法选择创建一个...除了 xaml 中的库控件之外,我还可以访问所有其他功能区控件。有一个 RibbonGallery 对象,但没有任何特定的库控件(DropDown、SplitButton、In-Ribbon) 我是否缺少某些内容?

I was trying to follow this link to set up a drop down gallery on my ribbon bar using wpf and c#: http://msdn.microsoft.com/en-us/library/dd742868(v=VS.85).aspx

I cannot seem to initialize the dropdowngallery object on my ribbon bar in the xaml there is no option to create one... I have access to all the other ribbon controls besides the gallery controls in the xaml. There is a RibbonGallery object but not any specific gallery controls (DropDown, SplitButton, In-Ribbon) Am I missing something?

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

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

发布评论

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

评论(1

乱世争霸 2024-11-08 03:43:45

博客文章包含如何在 WPF 中添加功能区库的示例。您在问题中包含的链接适用于 Ribbon 控件的 Win32/MFC 版本,这是不同的。

This blog post includes an example of how to add a Ribbon gallery in WPF. The link you include in your question is for the Win32/MFC version of the Ribbon control, which is different.

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