Click or drag to resize

Button Properties

The Button type exposes the following members.

Public propertyCommand
Gets or sets the command to invoke when the button is pressed.
Public propertyCommandParameter
Gets or sets the parameter to pass to the Command when executing or determining its CanExecute state.
Public propertyHeight
Gets or sets the height of the control size.
(Overrides ControlHeight.)
Public propertyImage
Gets or sets the image to display on the button
Public propertyImagePosition
Gets or sets the position of the image relative to the text
Public propertyMinimumSize
Gets or sets the minimum size for the button.
Public propertySize
Gets or sets the size of the control. Use -1 to specify auto sizing for either the width and/or height.
(Overrides ControlSize.)
Public propertyWidth
Gets or sets the width of the control size.
(Overrides ControlWidth.)
See Also