Plugins Tools Menu
The UI elements placed in this region will pop up in the top level toolbar menu area.
The menu items residing in this region should implement the IMenuItem interface.
Example
Code implementaion:
C# |
---|
[ModuleExport(typeof(PluginModule))] public class PluginModule : IModule, IPartImportsSatisfiedNotification { public void OnImportsSatisfied() { this.regionManager.AddToRegion("ToolMenuRegion", ToolMenuItem); } } |
Tip |
---|
The plugin view model should implement INotifyPropertyChanged interface, when it needs to provide dynamic property notification to the UI region where it's injected in. |