C# Class Eto.Forms.Button

Inheritance: Eto.Forms.TextControl
Afficher le fichier Open project: picoe/Eto Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

Button() public méthode

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.
Résultat System

GetCallback() protected méthode

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

OnClick() protected méthode

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

PerformClick() public méthode

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