Back to Devexpress

SimpleButton Members

mobilecontrols-devexpress-dot-xamarinforms-dot-editors-dot-simplebutton-dot-underscore-members.md

latest13.4 KB
Original Source

SimpleButton Members

A simple button.

Constructors

NameDescription
SimpleButton()Initializes a new instance of the SimpleButton class.

Fields

NameDescription
BorderColorProperty staticIdentifies the BorderColor dependency property.
BorderThicknessProperty staticIdentifies the BorderThickness dependency property.
CommandParameterProperty staticIdentifies the CommandParameter dependency property.
CommandProperty staticIdentifies the Command dependency property.
ContentProperty staticIdentifies the Content dependency property.
CornerModeProperty staticIdentifies the CornerMode dependency property.
CornerRadiusProperty staticIdentifies the CornerRadius dependency property.
DisabledBackgroundColorProperty staticIdentifies the DisabledBackgroundColor dependency property.
DisabledBorderColorProperty staticIdentifies the DisabledBorderColor dependency property.
DisabledIconColorProperty staticIdentifies the DisabledIconColor dependency property.
DisabledTextColorProperty staticIdentifies the DisabledTextColor dependency property.
FontAttributesProperty staticIdentifies the FontAttributes dependency property.
FontFamilyProperty staticIdentifies the FontFamily dependency property.
FontSizeProperty staticIdentifies the FontSize dependency property.
HorizontalContentAlignmentProperty staticIdentifies the HorizontalContentAlignment dependency property.
IconColorProperty staticIdentifies the IconColor dependency property.
IconHorizontalPositionProperty staticIdentifies the IconHorizontalPosition dependency property.
IconIndentProperty staticIdentifies the IconIndent dependency property.
IconProperty staticIdentifies the Icon dependency property.
IconVisibleProperty staticIdentifies the IconVisible dependency property.
IsPressedProperty staticIdentifies the IsPressed dependency property.
IsPressedPropertyKey static
PaddingProperty staticIdentifies the Padding dependency property.
PressedBackgroundColorProperty staticIdentifies the PressedBackgroundColor dependency property.
PressedBorderColorProperty staticIdentifies the PressedBorderColor dependency property.
PressedIconColorProperty staticIdentifies the PressedIconColor dependency property.
PressedTextColorProperty staticIdentifies the PressedTextColor dependency property.
ShowShadowProperty staticIdentifies the ShowShadow dependency property.
TextColorProperty staticIdentifies the TextColor dependency property.
TextProperty staticIdentifies the Text dependency property.
UseRippleEffectProperty staticIdentifies the UseRippleEffect dependency property.
VerticalContentAlignmentProperty staticIdentifies the VerticalContentAlignment dependency property.

Properties

NameDescription
BorderColorGets or sets the color of the button borders.
BorderThicknessGets or sets the thickness of the button borders.
CommandSpecifies the command that is executed when a user taps the button.
CommandParameterSpecifies the parameter passed to the Command.
ContentGets or sets the custom content of the button.
CornerModeGets or sets whether button corners are rounded or cut.
CornerRadiusSpecifies the button corner radius.
DisabledBackgroundColorSpecifies the background color of the button in a disabled state.
DisabledBorderColorSpecifies the border color of the button in a disabled state.
DisabledIconColorSpecifies the icon color for the button in a disabled state.
DisabledTextColorGets or sets the caption text color of the button in a disabled state.
FontAttributesSpecifies whether the button caption is bold or italic.
FontFamilySpecifies the button text font name.
FontSizeSpecifies the button text font size.
HorizontalContentAlignmentGets or sets the horizontal alignment of the button’s content (icon and text).
IconSpecifies the button icon image.
IconColorSpecifies the color for the button icon.
IconHorizontalPositionSpecifies a button’s icon horizontal position relative to button captions.
IconIndentSpecifies a distance between the button icon and caption.
IconVisibleSpecifies the button icon visibility.
IsPressedGets whether the button is in a pressed state.
PaddingGets or sets the distance between the button caption and borders.
PressedBackgroundColorSpecifies the background of the button in a pressed state.
PressedBorderColorSpecifies the border color of the button in a pressed state.
PressedIconColorSpecifies the icon color for the button in a pressed state.
PressedTextColorGets or sets the color of button text in a pressed state.
ShowShadowGets or sets the button shadow visibility.
TextA button’s caption.
TextColorA button’s caption color.
UseRippleEffectGets or sets whether the ripple animation effect is used.
VerticalContentAlignmentGets or sets the vertical alignment of the buttons’s content (icon and text).

Events

NameDescription
ClickedOccurs when a user taps and releases the button.
PressedOccurs when a user taps the button.
ReleasedOccurs when a user releases the button.

See Also

SimpleButton Class

DevExpress.XamarinForms.Editors Namespace