Represents the base type for button-like controls.
The following tables list the members exposed by the ButtonBase type.
Name | Description | |
---|---|---|
Initializes a new instance of the ButtonBase class. |
Name | Description | |
---|---|---|
Gets or sets the brush used to fill the button when it is in normal state. |
||
Gets or sets the brush used to fill the button when it is disabled. |
||
Gets or sets the brush used to fill the button when it is being pressed. |
||
Gets or sets the brush used to fill the button when it is being hovered. |
||
Gets or sets the brush used to draw the button border. |
||
Gets or sets the brush used to draw the button border when the button is disabled. |
||
Gets or sets the brush used to draw the button border when the button is being pressed. |
||
Gets or sets the brush used to draw the button border when the button is being hovered. |
||
Gets or sets the thickness of the button border. |
||
Gets or set the type of custom drawing for the button. |
||
Gets or sets a value indicating whether the button receives the input focus when it is clicked by the mouse. |
||
Gets or sets the font of the text displayed by the button. |
||
Gets or sets the brush used to draw the button content. |
||
Gets or sets the brush used to draw the button content when the button is disabled. |
||
Gets or sets the brush used to draw the button content when the button is being pressed. |
||
Gets or sets the brush used to draw the button content when the button is being hovered. |
||
Gets or sets a value indicating whether a focus rectangle should be drawn when the control has the input focus. |
||
Gets or sets the text display by the button. |
||
Gets or sets the alignment of the text in the button control. |
Name | Description | |
---|---|---|
Control.OnDoubleClick override. |
||
Raises the Down event. |
||
Raises the Draw event. |
||
Control.OnGotFocus override. |
||
Control.OnLostFocus override. |
||
Control.OnMouseDown override. |
||
Control.OnMouseEnter override. |
||
Control.OnMouseLeave override. |
||
Control.OnMouseMove override. |
||
Control.OnMouseUp override. |
||
Control.OnPaintBackground override. |
||
Control.ProcessDialogKey override. |
Name | Description | |
---|---|---|
Occurs when the mouse is pressed over the button. |
||
Occurs when the button is being painted. |