C# Class Eto.Forms.RadioMenuItem

Inheritance: Eto.Forms.MenuItem
Datei anzeigen Open project: picoe/Eto Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
PerformClick ( ) : void

Performs the click handler for this item which sets the check state to true.

This performs the click by calling MenuItem.OnClick which triggers the MenuItem.Click event. The Checked state will also be set to true.

RadioMenuItem ( ) : System

Initializes a new instance of the Eto.Forms.RadioMenuItem class.

RadioMenuItem ( Eto.Forms.RadioCommand command, RadioMenuItem controller = null ) : System

Initializes a new instance of the Eto.Forms.RadioMenuItem class with the specified command and controller.

RadioMenuItem ( RadioMenuItem controller ) : System

Initializes a new instance of the Eto.Forms.RadioMenuItem class.

Protected Methods

Method Description
GetCallback ( ) : object

Gets an instance of an object used to perform callbacks to the widget from handler implementations

OnCheckedChanged ( EventArgs e ) : void

Raises the CheckedChanged event.

Method Details

GetCallback() protected method

Gets an instance of an object used to perform callbacks to the widget from handler implementations
protected GetCallback ( ) : object
return object

OnCheckedChanged() protected method

Raises the CheckedChanged event.
protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs E.
return void

PerformClick() public method

Performs the click handler for this item which sets the check state to true.
This performs the click by calling MenuItem.OnClick which triggers the MenuItem.Click event. The Checked state will also be set to true.
public PerformClick ( ) : void
return void

RadioMenuItem() public method

Initializes a new instance of the Eto.Forms.RadioMenuItem class.
public RadioMenuItem ( ) : System
return System

RadioMenuItem() public method

Initializes a new instance of the Eto.Forms.RadioMenuItem class with the specified command and controller.
public RadioMenuItem ( Eto.Forms.RadioCommand command, RadioMenuItem controller = null ) : System
command Eto.Forms.RadioCommand Command to initialize the menu item with.
controller RadioMenuItem Controller radio menu item to link to, or null if no controller.
return System

RadioMenuItem() public method

Initializes a new instance of the Eto.Forms.RadioMenuItem class.
public RadioMenuItem ( RadioMenuItem controller ) : System
controller RadioMenuItem Controller radio menu item to link to, or null if no controller.
return System