C# Class Eto.Forms.Button

Inheritance: Eto.Forms.TextControl
Mostrar archivo Open project: picoe/Eto Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Button ( ) : System

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

Button ( EventHandler click ) : System

Initializes a new instance of the Eto.Forms.Button class with the specified click handler.

This is a convenience constructor to set up the click event.

PerformClick ( ) : void

Triggers the Click event for the button, if the button is visable and enabled.

Protected Methods

Method Description
GetCallback ( ) : object

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

OnClick ( EventArgs e ) : void

Raises the Click event

Method Details

Button() public method

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

Button() public method

Initializes a new instance of the Eto.Forms.Button class with the specified click handler.
This is a convenience constructor to set up the click event.
public Button ( EventHandler click ) : System
click EventHandler Delegate to handle when the button is clicked.
return System

GetCallback() protected method

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

OnClick() protected method

Raises the Click event
protected OnClick ( EventArgs e ) : void
e System.EventArgs Event arguments
return void

PerformClick() public method

Triggers the Click event for the button, if the button is visable and enabled.
public PerformClick ( ) : void
return void