Button Properties |
The Button type exposes the following members.
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.) |