C# Класс Eto.Forms.Button

Наследование: Eto.Forms.TextControl
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Описание методов

Button() публичный Метод

Initializes a new instance of the Eto.Forms.Button class.
public Button ( ) : System
Результат System

Button() публичный Метод

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.
Результат System

GetCallback() защищенный Метод

Gets an instance of an object used to perform callbacks to the widget from handler implementations
protected GetCallback ( ) : object
Результат object

OnClick() защищенный Метод

Raises the Click event
protected OnClick ( EventArgs e ) : void
e System.EventArgs Event arguments
Результат void

PerformClick() публичный Метод

Triggers the Click event for the button, if the button is visable and enabled.
public PerformClick ( ) : void
Результат void