Property | Type | Description |
---|
Method | Description | |
---|---|---|
ButtonMenuItem ( ) : System |
Initializes a new instance of the Eto.Forms.ButtonMenuItem class.
|
|
ButtonMenuItem ( Eto.Forms.Command command ) : System |
Initializes a new instance of the Eto.Forms.ButtonMenuItem class with the specified command.
|
|
ButtonMenuItem ( EventHandler |
Initializes a new instance of the Eto.Forms.ButtonMenuItem class with the specified click handler. This is a convenience constructor to set up the click event. |
Method | Description | |
---|---|---|
OnDataContextChanged ( |
Raises the BindableWidget.DataContextChanged event Implementors may override this to fire this event on child widgets in a heirarchy. This allows a control to be bound to its own BindableWidget.DataContext, which would be set on one of the parent control(s). |
|
OnLoad ( |
Called when the menu is assigned to a control/window
|
|
OnUnLoad ( |
Called when the menu is removed from a control/window
|
public ButtonMenuItem ( Eto.Forms.Command command ) : System | ||
command | Eto.Forms.Command | Command to initialize the menu item with. |
return | System |
public ButtonMenuItem ( EventHandler |
||
click | EventHandler |
Delegate to handle when the menu item is clicked. |
return | System |
protected OnDataContextChanged ( |
||
e | Event arguments | |
return | void |
protected OnLoad ( |
||
e | Event arguments | |
return | void |
protected OnUnLoad ( |
||
e | Event arguments | |
return | void |