Button

Generate events to run methods.
BrowseName
Button
SuperType
Element(Item)

Properties

Name
BrowseName
DataType
Description
Text
Text
Text inserted and displayed.
Appearance
Appearance
Button style.
Image path
ImagePath
Icon to be displayed in the navigation tab of a Navigation panel object.
Image position
ImagePosition
Position of the image to display.
Text position
TextPosition
Position of the text on the horizontal and vertical axes relative to the sides of the object.
Image width
ImageWidth
Width of the image to display. The Auto value sets the native width of the image.
Image height
ImageHeight
Height of the image to display. The Auto value sets the native height of the image.
Word wrap
WordWrap
Enable/disable the automatic word wrapping when the text is wider than the container. Ignored when the object width is automatic or when text abbreviation is set.
Text trimming
Elide
Text trimming mode. Insert three dots (...) in the indicated position when the text is too long for the available space. Ignored when the object width is automatic or when word wrap is set.
Font family
FontFamily
Font family.
Font weight
FontWeight
Font weight.
Font italic
FontItalic
Enables/disables italics in the text.
Font size
FontSize
Font size.
Text color
TextColor
Color of the text to display.
Background color
BackgroundColor
If the Appearance is Default, Bordered Circular or Bordered Rectangular, it is the color of the button. If the Appearance is Accent, the color is the one set in the style sheet in the Highlight color property.
Visible
Visible
(Inherited from Element)
Enabled
Enabled
(Inherited from Element)
Opacity
Opacity
(Inherited from Element)
Left margin
LeftMargin
(Inherited from Element)
Top margin
TopMargin
(Inherited from Element)
Right margin
RightMargin
(Inherited from Element)
Bottom margin
BottomMargin
(Inherited from Element)
Width
Width
(Inherited from Element)
Height
Height
(Inherited from Element)
Horizontal alignment
HorizontalAlignment
(Inherited from Element)
Vertical alignment
VerticalAlignment
(Inherited from Element)
Rotation
Rotation
(Inherited from Element)

Events

MouseClick event
MouseDown event
BrowseName
MouseUp event
BrowseName
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.