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.4.0
Syntax
[ContentPropertyAttribute("Items")]
public class ButtonMenuItem : MenuItem, 
	ISubmenu

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
Extension Methods
  NameDescription
Public Extension MethodGetChildren
Gets an enumeration of all children of the specified submenu.
(Defined by SubmenuExtensions.)
Top
See Also