SimpleButton Members
A simple button.Constructors
Name | Description |
---|---|
SimpleButton() | Initializes a new instance of the SimpleButton class. |
Fields
Name | Description |
---|---|
BorderColorProperty static | Identifies the BorderColor bindable property. |
BorderThicknessProperty static | Identifies the BorderThickness bindable property. |
CommandParameterProperty static | Identifies the CommandParameter bindable property. |
CommandProperty static | Identifies the Command bindable property. |
ContentProperty static | Identifies the Content bindable property. |
CornerModeProperty static | Identifies the CornerMode bindable property. |
CornerRadiusProperty static | Identifies the CornerRadius bindable property. |
DisabledBackgroundColorProperty static | Identifies the DisabledBackgroundColor bindable property. |
DisabledBorderColorProperty static | Identifies the DisabledBorderColor bindable property. |
DisabledIconColorProperty static | Identifies the DisabledIconColor bindable property. |
DisabledTextColorProperty static | Identifies the DisabledTextColor bindable property. |
FontAttributesProperty static | Identifies the FontAttributes bindable property. |
FontFamilyProperty static | Identifies the FontFamily bindable property. |
FontSizeProperty static | Identifies the FontSize bindable property. |
HorizontalContentAlignmentProperty static | Identifies the HorizontalContentAlignment bindable property. |
IconColorProperty static | Identifies the IconColor bindable property. |
IconHorizontalPositionProperty static | Identifies the IconHorizontalPosition bindable property. |
IconIndentProperty static | Identifies the IconIndent bindable property. |
IconProperty static | Identifies the Icon bindable property. |
IconVisibleProperty static | Identifies the IconVisible bindable property. |
IsPressedProperty static | Identifies the IsPressed bindable property. |
IsPressedPropertyKey static | |
PaddingProperty static | Identifies the Padding bindable property. |
PressedBackgroundColorProperty static | Identifies the PressedBackgroundColor bindable property. |
PressedBorderColorProperty static | Identifies the PressedBorderColor bindable property. |
PressedIconColorProperty static | Identifies the PressedIconColor bindable property. |
PressedTextColorProperty static | Identifies the PressedTextColor bindable property. |
ShowShadowProperty static | Identifies the ShowShadow bindable property. |
TextColorProperty static | Identifies the TextColor bindable property. |
TextProperty static | Identifies the Text bindable property. |
UseRippleEffectProperty static | Identifies the UseRippleEffect bindable property. |
VerticalContentAlignmentProperty static | Identifies the VerticalContentAlignment bindable property. |
Properties
Name | Description |
---|---|
ActualAppearance | Gets the common appearance settings that are applied to the current SimpleButton. |
BorderColor | Gets or sets the color of the button borders. This is a bindable property. |
BorderThickness | Gets or sets the thickness of the button borders. This is a bindable property. |
Command | Gets or sets the command that is executed when a user taps the button. This is a bindable property. |
CommandParameter | Gets or sets the parameter passed to the Command. This is a bindable property. |
Content | Gets or sets the custom content of the button. This is a bindable property. |
CornerMode | Gets or sets whether button corners are rounded or cut. This is a bindable property. |
CornerRadius | Gets or sets the button corner radius. This is a bindable property. |
DisabledBackgroundColor | Gets or sets the background color of the button in a disabled state. This is a bindable property. |
DisabledBorderColor | Gets or sets the border color of the button in a disabled state. This is a bindable property. |
DisabledIconColor | Gets or sets the icon color for the button in a disabled state. This is a bindable property. |
DisabledTextColor | Gets or sets the caption text color of the button in a disabled state. This is a bindable property. |
FontAttributes | Gets or sets whether the button caption is bold or italic. This is a bindable property. |
FontFamily | Gets or sets the button text font name. This is a bindable property. |
FontSize | Gets or sets the button text font size. This is a bindable property. |
HorizontalContentAlignment | Gets or sets the horizontal alignment of the button’s content (icon and text). This is a bindable property. |
Icon | Gets or sets the button icon image. This is a bindable property. |
IconColor | Gets or sets the color for the button icon. This is a bindable property. |
IconHorizontalPosition | Gets or sets a button icon’s horizontal position relative to button captions. This is a bindable property. |
IconIndent | Gets or sets the distance between the button icon and caption. This is a bindable property. |
IconVisible | Gets or sets the button icon visibility. This is a bindable property. |
IsPressed | Gets whether the button is in a pressed state. This is a bindable property. |
Padding | Gets or sets the distance between the button caption and borders. This is a bindable property. |
PressedBackgroundColor | Gets or sets the background of the button in a pressed state. This is a bindable property. |
PressedBorderColor | Gets or sets the border color of the button in a pressed state. This is a bindable property. |
PressedIconColor | Gets or sets the icon color for the button in a pressed state. This is a bindable property. |
PressedTextColor | Gets or sets the color of button text in a pressed state. This is a bindable property. |
ShowShadow | Gets or sets the button shadow visibility. This is a bindable property. |
Text | Gets or sets the button’s caption. This is a bindable property. |
TextColor | Gets or sets the button’s caption color. This is a bindable property. |
UseRippleEffect | Gets or sets whether the SimpleButton uses the ripple animation effect. This is a bindable property. |
VerticalContentAlignment | Gets or sets the vertical alignment of the buttons’s content (icon and text). This is a bindable property. |
Methods
Name | Description |
---|---|
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
Name | Description |
---|---|
Clicked | Occurs when a user taps and releases the button. |
Pressed | Occurs when a user taps the button. |
Released | Occurs when a user releases the button. |
See Also