Version

Menu Property (ToolbarMenuButton)

Returns the HtmlBoxMenu associated with this ToolbarMenuButton.
Syntax
'Declaration
 
Public ReadOnly Property Menu As HtmlBoxMenu
public HtmlBoxMenu Menu {get;}

Property Value

The HtmlBoxMenu associated with the ToolbarMenuButton.
Remarks

This property returns the HtmlBoxMenu representing the menu that appears when the ToolbarMenuButton is clicked. For all predefined ToolbarMenuButtons (all ToolbarMenuButtonType values except for ToolbarMenuButtonType.Custom) this property will be properly initialized. For ToolbarMenuButtonType.Custom, create the menu by adding items to the HtmlBoxMenu.Items colletion of the HtmlBoxMenu control.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, 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