Skip to main content

SimpleButton Properties

A simple button.
Name Description
BorderColor Gets or sets the color of the button borders.
BorderThickness Gets or sets the thickness of the button borders.
Command Specifies the command that is executed when a user taps the button.
CommandParameter Specifies the parameter passed to the Command.
Content Gets or sets the custom content of the button.
CornerMode Gets or sets whether button corners are rounded or cut.
CornerRadius Specifies the button corner radius.
DisabledBackgroundColor Specifies the background color of the button in a disabled state.
DisabledBorderColor Specifies the border color of the button in a disabled state.
DisabledIconColor Specifies the icon color for the button in a disabled state.
DisabledTextColor Gets or sets the caption text color of the button in a disabled state.
FontAttributes Specifies whether the button caption is bold or italic.
FontFamily Specifies the button text font name.
FontSize Specifies the button text font size.
HorizontalContentAlignment Gets or sets the horizontal alignment of the button’s content (icon and text).
Icon Specifies the button icon image.
IconColor Specifies the color for the button icon.
IconHorizontalPosition Specifies a button’s icon horizontal position relative to button captions.
IconIndent Specifies a distance between the button icon and caption.
IconVisible Specifies the button icon visibility.
IsPressed Gets whether the button is in a pressed state.
Padding Gets or sets the distance between the button caption and borders.
PressedBackgroundColor Specifies the background of the button in a pressed state.
PressedBorderColor Specifies the border color of the button in a pressed state.
PressedIconColor Specifies the icon color for the button in a pressed state.
PressedTextColor Gets or sets the color of button text in a pressed state.
ShowShadow Gets or sets the button shadow visibility.
Text A button’s caption.
TextColor A button’s caption color.
UseRippleEffect Gets or sets whether the ripple animation effect is used.
VerticalContentAlignment Gets or sets the vertical alignment of the buttons’s content (icon and text).
See Also