The Button type exposes the following members.

Properties

  NameDescription
Public propertyAutoSizeMode
Gets/Sets the auto size mode
(Inherited from AutoSizeControl.)
Public propertyBackgroundImage
Gets/Sets the background image to display
Public propertyBackgroundImageImageScaleModeMode
Gets/Sets the Scale Mode to use when rendering background image
Public propertyBorderColor
Gets/Sets color to use for border
Public propertyBorderColorPressed
Gets/Sets color to use for border when pressed
Public propertyCanFocus
Gets the controls ability to receive focus
(Inherited from Control.)
Public propertyDisposing
Gets the disposing state of the control
(Inherited from Control.)
Public propertyEnabled
Gets/Sets the enabled state of the control
(Inherited from Control.)
Public propertyFocused
Gets if the control is currently focused
(Inherited from Control.)
Public propertyFont
Gets/Sets the Font for rendering text
Public propertyHeight
Gets/Sets the height of the control in pixels
(Inherited from AutoSizeControl.)
Public propertyHorizontalTextAlignment
Gets/Sets horizontal text alignment
Protected propertyInternalSuspended
Allows internally direct access to the Suspended flag of the control
(Inherited from Control.)
Public propertyLastTouch
Gets the coordinates of the last point touched
(Inherited from Control.)
Public propertyLeft
Gets the absolute X position of the control accounting for parental offsets
(Inherited from Control.)
Public propertyLocation
Gets or sets the location of the control
(Inherited from Control.)
Public propertyName
Gets the name of the control
(Inherited from Control.)
Public propertyNormalColorBottom
Gets/Sets bottom color to use in background gradient when button is not pressed
Public propertyNormalColorTop
Gets/Sets top color to use in background gradient when button is not pressed
Public propertyNormalTextColor
Gets/Sets the color to use when rendering text when button is not pressed
Public propertyNormalTextShadowColor
Gets/Sets the color to use when rendering text shadow when button is not pressed
Public propertyPadding
Gets/Sets the internal spacing of the control border to it's content
(Inherited from AutoSizeControl.)
Public propertyParent
Gets/Sets the control's container
(Inherited from Control.)
Public propertyPressedColorBottom
Gets/Sets pressed state bottom color to use in background gradient when button is pressed
Public propertyPressedColorTop
Gets/Sets pressed state top color to use in background gradient when button is pressed
Public propertyPressedTextColor
Gets/Sets pressed state color to use when rendering text when button is pressed
Public propertyPressedTextShadowColor
Gets/Sets the color to use when rendering text shadow when button is pressed
Public propertyRenderStyle
Gets/Sets the render style of the button
Public propertyScreenBounds
Gets the exact location of the control in pixels on the screen
(Inherited from Control.)
Public propertyShowFocusRectangle Obsolete.
Gets/Sets whether or not to draw focus rectangle
Public propertySuspended
Gets/Sets the suspended state
(Inherited from Control.)
Public propertyTag
Gets or sets a user defined tag for the control
(Inherited from Control.)
Public propertyText
Gets/Sets the content text
Public propertyTop
Gets the absolute Y position of the control accounting for parental offsets
(Inherited from Control.)
Public propertyTouching
Gets the current touch state of the control
(Inherited from Control.)
Public propertyVerticalTextAlignment
Gets/Sets the vertical text alignment
Public propertyVisible
Gets/Sets the visibility of the control
(Inherited from Control.)
Public propertyWidth
Gets/Sets the width of the control in pixels
(Inherited from AutoSizeControl.)
Public propertyX
Gets/Sets the X position in pixels
(Inherited from Control.)
Public propertyY
Gets/Sets the Y position in pixels
(Inherited from Control.)

See Also