The Button type exposes the following members.
Properties
Name | Description | |
---|---|---|
AutoSizeMode |
Gets/Sets the auto size mode
(Inherited from AutoSizeControl.) | |
BackgroundImage |
Gets/Sets the background image to display
| |
BackgroundImageImageScaleModeMode |
Gets/Sets the Scale Mode to use when rendering background image
| |
BorderColor |
Gets/Sets color to use for border
| |
BorderColorPressed |
Gets/Sets color to use for border when pressed
| |
CanFocus |
Gets the controls ability to receive focus
(Inherited from Control.) | |
Disposing |
Gets the disposing state of the control
(Inherited from Control.) | |
Enabled |
Gets/Sets the enabled state of the control
(Inherited from Control.) | |
Focused |
Gets if the control is currently focused
(Inherited from Control.) | |
Font |
Gets/Sets the Font for rendering text
| |
Height |
Gets/Sets the height of the control in pixels
(Inherited from AutoSizeControl.) | |
HorizontalTextAlignment |
Gets/Sets horizontal text alignment
| |
InternalSuspended |
Allows internally direct access to the Suspended flag of the control
(Inherited from Control.) | |
LastTouch |
Gets the coordinates of the last point touched
(Inherited from Control.) | |
Left |
Gets the absolute X position of the control accounting for parental offsets
(Inherited from Control.) | |
Location |
Gets or sets the location of the control
(Inherited from Control.) | |
Name |
Gets the name of the control
(Inherited from Control.) | |
NormalColorBottom |
Gets/Sets bottom color to use in background gradient when button is not pressed
| |
NormalColorTop |
Gets/Sets top color to use in background gradient when button is not pressed
| |
NormalTextColor |
Gets/Sets the color to use when rendering text when button is not pressed
| |
NormalTextShadowColor |
Gets/Sets the color to use when rendering text shadow when button is not pressed
| |
Padding |
Gets/Sets the internal spacing of the control border to it's content
(Inherited from AutoSizeControl.) | |
Parent |
Gets/Sets the control's container
(Inherited from Control.) | |
PressedColorBottom |
Gets/Sets pressed state bottom color to use in background gradient when button is pressed
| |
PressedColorTop |
Gets/Sets pressed state top color to use in background gradient when button is pressed
| |
PressedTextColor |
Gets/Sets pressed state color to use when rendering text when button is pressed
| |
PressedTextShadowColor |
Gets/Sets the color to use when rendering text shadow when button is pressed
| |
RenderStyle |
Gets/Sets the render style of the button
| |
ScreenBounds |
Gets the exact location of the control in pixels on the screen
(Inherited from Control.) | |
ShowFocusRectangle | Obsolete.
Gets/Sets whether or not to draw focus rectangle
| |
Suspended |
Gets/Sets the suspended state
(Inherited from Control.) | |
Tag |
Gets or sets a user defined tag for the control
(Inherited from Control.) | |
Text |
Gets/Sets the content text
| |
Top |
Gets the absolute Y position of the control accounting for parental offsets
(Inherited from Control.) | |
Touching |
Gets the current touch state of the control
(Inherited from Control.) | |
VerticalTextAlignment |
Gets/Sets the vertical text alignment
| |
Visible |
Gets/Sets the visibility of the control
(Inherited from Control.) | |
Width |
Gets/Sets the width of the control in pixels
(Inherited from AutoSizeControl.) | |
X |
Gets/Sets the X position in pixels
(Inherited from Control.) | |
Y |
Gets/Sets the Y position in pixels
(Inherited from Control.) |