问题标签 [ribbon-control]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
730 浏览

c# - 如何在 RibbonButton 中设置 Horizo​​ntalContentAlignment

在普通的 WPF Button控件中,HorizontalContentAlignment可以设置左边的 Button 的 Content。但是在RibbonButton控件中,没有Content,而是用Label代替,不能对齐HorizontalContentAlignment

如何水平对齐 RibbonControl 的标签?或者,这甚至可能吗?

0 投票
1 回答
1155 浏览

silverlight-4.0 - Call method inside VM of Silverlight application on click of CRM Ribbon button

We are planning to use Silverlight MVVM application in Dynamics 2011 for few custom features. We also want to have consistent looks for whole application for both Dynamics and Silverlight modules. That’s why we are creating web resource to host this Silverlight application inside CRM.

Now problem is we need to create “Save”, “Edit” etc buttons in Ribbon, which in-turn behaves like buttons inside Silverlight module. Following are important questions

  1. Can we create such buttons in Ribbon to access methods inside View Model of Silverlight application hosted using “Web resource”. These methods will also have to access data changes done by user in Silverlight Views.

  2. Is there any other better way to handle such situation

Thanks,

Nilesh

0 投票
2 回答
6359 浏览

sharepoint - 如何禁用功能区工具栏的按钮?

[可能重复]
禁用功能区按钮 但我提出了问题,因为我没有回答这个问题,我正在寻找可用的服务器端解决方案。

我想知道是否有办法从服务器端禁用功能区工具栏中的按钮或许多按钮?

0 投票
1 回答
1073 浏览

c# - 将多个元素添加到 Prism 区域

我将 Prism 与 Microsoft WPF Ribbon 一起使用,一切正常,但我遇到了上下文选项卡的问题。我在 Shell.xaml 中定义上下文选项卡:

这样,在我的模块中,我可以参考那些上下文选项卡组,并且效果很好。但我想在模块中定义 contextualtabgroups。我想定义一个区域:

然后在我的模块中,我将有一个 UserControl,它为每个继承 RibbonContextualTabGroup 并将它们注册到该区域......有没有办法只用一些 ContextualTabGroups 定义一个用户控件并将它们作为一个整体添加?例如:

作为 ContextualTabsView.xaml 并在我的模块中制作一个

我不知道我是否清楚自己要完成的工作,但我将不胜感激。

谢谢。

0 投票
1 回答
1605 浏览

c# - 我可以向功能区添加自定义控件吗?

有没有办法向 DevExpress.XtraBars.Ribbon.RibbonControl 添加自定义查找编辑?在我的 RibbonPageGroup 中,我可以右键单击添加控件,包括 LookUpEdit。但是,如果我想将自定义控件添加到 RibbonPageGroup,是否允许以及如何做到这一点?我在网上搜索,但没有找到太多有用的信息。谢谢!我正在开发 WinForms。

0 投票
1 回答
292 浏览

ribbon-control - c# for Outlook 2010 中的功能区处理

我在 Outlook 2007 中的某个位置放置了自己的功能区。但是,当我运行 Outlook 2010 的代码时,功能区不像 2007 那样在我想要的位置。它已放置在最后一个位置。有什么解决办法吗?

0 投票
1 回答
292 浏览

visual-studio-2010 - 带有 Microsoft Ribbon Control 的 Visual Studio 2010 WPF 项目 2010 年 10 月:在 GUI 中编辑设计时间

我总是最终编辑 xaml 代码。WPF 表单设计器中没有拖放设计时编辑吗?

(将功能区添加到功能区窗口、添加状态栏、功能区按钮等)

谢谢!

0 投票
1 回答
544 浏览

vba - PowerPoint 2007 VBA - 无法使功能区按钮工作

从今天开始,我的 PowerPoint 2007 功能区中的自定义按钮将不再起作用。每次单击该按钮时,都会出现以下错误消息:“由于您的安全设置,无法找到或禁用宏。”

我已经用谷歌搜索了这个问题,但没有找到解决方案。我完全不知所措。

这是宏的代码:

我已经尝试过使用和不使用 ByVal 控件作为 IRibbonControl。无论如何都没有运气。

和 XML 代码

我的安装是通过 Softricity SoftGrid 作为虚拟安装运行的,物有所值。

有任何想法吗?

0 投票
0 回答
703 浏览

c# - 功能区组合框选择更改事件未触发

我在功能区栏中有一个组合框,如下所示:

在组合框中选择一个项目时,我正在尝试打开一个新窗口。但它不会发生。我该怎么办?

0 投票
2 回答
926 浏览

wpf - 在 WPF 中加载用户控件

我有RibbonControl一个小型 WPF 应用程序,并且有一个名为 Search 的按钮。我的想法是,当我在主窗口中按下此按钮时,我会加载一个用户控件,并且我希望得到像“TweetDeck”那样的结果,即每次按下搜索按钮时,用户控件都会固定在主窗口中窗户。

是否有教程或示例说明我如何做到这一点?

感谢您的帮助和时间。