Search
Button Properties
 


 Public Properties

  Name Description

BackgroundBrush

Gets or sets the brush used to fill the button when it is in normal state. (Inherited from ButtonBase.)

BackgroundBrushDisabled

Gets or sets the brush used to fill the button when it is disabled. (Inherited from ButtonBase.)

BackgroundBrushDown

Gets or sets the brush used to fill the button when it is being pressed. (Inherited from ButtonBase.)

BackgroundBrushOver

Gets or sets the brush used to fill the button when it is being hovered. (Inherited from ButtonBase.)

BorderBrush

Gets or sets the brush used to draw the button border. (Inherited from ButtonBase.)

BorderBrushDisabled

Gets or sets the brush used to draw the button border when the button is disabled. (Inherited from ButtonBase.)

BorderBrushDown

Gets or sets the brush used to draw the button border when the button is being pressed. (Inherited from ButtonBase.)

BorderBrushOver

Gets or sets the brush used to draw the button border when the button is being hovered. (Inherited from ButtonBase.)

BorderThickness

Gets or sets the thickness of the button border. (Inherited from ButtonBase.)

CustomDraw

Gets or set the type of custom drawing for the button. (Inherited from ButtonBase.)

FocusOnClick

Gets or sets a value indicating whether the button receives the input focus when it is clicked by the mouse. (Inherited from ButtonBase.)

FocusPadding

Gets or sets the offset of the focus frame relative to the control border.

Font

Gets or sets the font of the text displayed by the button. (Inherited from ButtonBase.)

ForegroundBrush

Gets or sets the brush used to draw the button content. (Inherited from ButtonBase.)

ForegroundBrushDisabled

Gets or sets the brush used to draw the button content when the button is disabled. (Inherited from ButtonBase.)

ForegroundBrushDown

Gets or sets the brush used to draw the button content when the button is being pressed. (Inherited from ButtonBase.)

ForegroundBrushOver

Gets or sets the brush used to draw the button content when the button is being hovered. (Inherited from ButtonBase.)

Image

Gets or sets the image that is displayed on a button control.

ImageAlign

Gets or sets the alignment of the image in the button control.

ShowFocus

Gets or sets a value indicating whether a focus rectangle should be drawn when the control has the input focus. (Inherited from ButtonBase.)

Text

Gets or sets the text display by the button. (Inherited from ButtonBase.)

TextAlign

Gets or sets the alignment of the text in the button control. (Inherited from ButtonBase.)

 See Also