Version

CreateMenuToolPresenter Method (MenuToolBase)

Called to create an instance of a MenuToolPresenter to represent this tool on the ribbon.
Syntax
'Declaration
 
Protected Overridable Function CreateMenuToolPresenter() As ToolMenuItem
protected virtual ToolMenuItem CreateMenuToolPresenter()

Return Value

A newly created instance of a MenuToolPresenter with its Content initialized appropriately.
Remarks

Note: the DataContext of this presenter will be set by the caller to this tool.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also