Search
Button Properties
 


 Public Properties

  Name Description

Bounds

Gets or sets the bounds of this manipulator, relative to its parent, expressed as percentages.

Brush

Gets or sets the background brush of the button when it is in normal state.

BrushHovered

Gets or sets the background brush of the button when it is in hovered state.

BrushPressed

Gets or sets the background brush of the button when it is in pressed state.

Focusable

Gets or sets a value indicating whether this manipulator can receive input focus. (Inherited from Manipulator.)

Font

Gets or sets the font of the button text.

Image

Gets or sets the image associated with the button.

ImageAlign

Gets or sets the alignment of the button image.

ImageList

Gets or sets a list with images. Each image in the list represents the appearance of the button in one of its states: 0 - normal, 1 - pressed, 2 - disabled, 3 - hovered.

IsEnabled

Gets or sets a value indicating whether this manipulator is enabled and can be interacted with. (Inherited from Manipulator.)

Item

Gets the target item of this manipulator. is attached to. (Inherited from Manipulator.)

Padding

Gets or sets a value indicating the distance between the button border and its contents.

Pen

Gets or sets the border pen of the button when it is in normal state.

PenHovered

Gets or sets the border pen of the button when it is in hovered state.

PenPressed

Gets or sets the border pen of the button when it is in pressed state.

Text

Gets or sets the text of the button.

TextColor

Gets or sets the color of the button text.

TextFormat

Gets or sets the layout properties of the button text.

 Protected Properties

  Name Description

IsFocused

Gets or sets a value indicating whether the manipulator currently holds the input focus. (Inherited from Manipulator.)

State

Gets the current state of the button.

 See Also