- 26/11/2019 at 13:38 #18821
I know how to create a navigation and program a plugin, but I don’t know how to bind the button of navigation and the plugin, I want to realize a click event to display a plugin or not.026/11/2019 at 13:46 #18833
Use ActionItem AttachTo property in the ActionItem constructor. For example
public class Class1 : ActionItem, IPlugin
public Class1() : base(“actionItemid”, “action item command”, “rCommand”, null, MenuTools.ButtonTool, false, true)
AttachTo = “[Shortcut Control + F2] = [Action Execute]; [Event Click] = [Action Execute]”;
}029/11/2019 at 10:14 #18923
I build a tab and a plugin.
When I open VC, the plugin always open. I want to stop the opening of the plugin and open by clicking the button.003/12/2019 at 05:25 #19004
I have solved this question by setting IsVisible false in IPlugin, it also works in IActionItem.
However, if I don’t set false in IPlugin, it can’t be changed in IActionItem, may be it is a problem.030/12/2019 at 08:50 #19703
IoC.Get<IRibbonViewModel>().RibbonTabSelected;030/12/2019 at 09:15 #19713
It occurs a bug:
When I first switch RibbonTab to third and fourth, it can’t change the dock visibility even if it excute the code. Only works after.030/12/2019 at 09:20 #19715
You must be logged in to reply to this topic.