Click or drag to resize

ButtonMenuItem Class

Menu item for a button / submenu
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[ContentPropertyAttribute("Items")]
public class ButtonMenuItem : MenuItem, 
	ISubmenu, IBindableWidgetContainer

The ButtonMenuItem type exposes the following members.

Constructors
  NameDescription
Public methodButtonMenuItem
Initializes a new instance of the ButtonMenuItem class.
Public methodButtonMenuItem(EventHandlerEventArgs)
Initializes a new instance of the ButtonMenuItem class with the specified click handler.
Public methodButtonMenuItem(Command)
Initializes a new instance of the ButtonMenuItem class with the specified command.
Top
Properties
  NameDescription
Public propertyImage
Gets or sets the image to show for the menu item.
Public propertyItems
Gets the collection of menu items.
Public propertyTrim
Gets a value indicating whether this sub menu should trim its child menu items when loaded onto a form
Top
Methods
  NameDescription
Protected methodOnLoad
Called when the menu is assigned to a control/window
(Overrides MenuOnLoad(EventArgs).)
Protected methodOnUnLoad
Called when the menu is removed from a control/window
(Overrides MenuOnUnLoad(EventArgs).)
Top
Extension Methods
  NameDescription
Public Extension MethodGetChildren
Gets an enumeration of all children of the specified submenu.
(Defined by SubmenuExtensions.)
Top
See Also