Button Class |
Namespace: Eto.Forms
The Button type exposes the following members.
Name | Description | |
---|---|---|
Button |
Initializes a new instance of the Button class.
| |
Button(EventHandlerEventArgs) |
Initializes a new instance of the Button class with the specified click handler.
|
Name | Description | |
---|---|---|
Command |
Gets or sets the command to invoke when the button is pressed.
| |
CommandParameter |
Gets or sets the parameter to pass to the Command when executing or determining its CanExecute state.
| |
Height |
Gets or sets the height of the control size.
(Overrides ControlHeight.) | |
Image |
Gets or sets the image to display on the button
| |
ImagePosition |
Gets or sets the position of the image relative to the text
| |
MinimumSize |
Gets or sets the minimum size for the button.
| |
Size |
Gets or sets the size of the control. Use -1 to specify auto sizing for either the width and/or height.
(Overrides ControlSize.) | |
Width |
Gets or sets the width of the control size.
(Overrides ControlWidth.) |
Name | Description | |
---|---|---|
GetCallback |
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides TextControlGetCallback.) | |
OnClick |
Raises the Click event
| |
PerformClick |
Triggers the Click event for the button, if the button is visible and enabled.
|