Telerik® JustDecompile™ by Progress

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.

Toolbar

Example

Code implementaion:

CopyC#
[ModuleExport(typeof(PluginModule))]
public class PluginModule : IModule, IPartImportsSatisfiedNotification
{
    public void OnImportsSatisfied()
    {
        this.regionManager.AddToRegion("ToolMenuRegion", ToolMenuItem);
    }
}
CopyVB.NET
<ModuleExport(GetType(PluginModule))> _
Public Class PluginModule
  Implements IModule
  Implements IPartImportsSatisfiedNotification

    Public Sub OnImportsSatisfied()
        Me.regionManager.AddToRegion("ToolMenuRegion", ToolMenuItem)
    End Sub

End Class
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.