Share via


Button Class

Definition

Controls padding and shadows for buttons on the Android platform.

public ref class Button abstract sealed
public static class Button
type Button = class
Public Module Button
Inheritance
Button

Fields

UseDefaultPaddingProperty

Bindable property for UseDefaultPadding(IPlatformElementConfiguration<Android,Button>).

UseDefaultShadowProperty

Bindable property for UseDefaultShadow(IPlatformElementConfiguration<Android,Button>).

Methods

GetUseDefaultPadding(BindableObject)

Returns a Boolean value that tells whether the default padding will be used.

GetUseDefaultShadow(BindableObject)

Returns a Boolean value that tells whether the default shadow will be used.

SetUseDefaultPadding(BindableObject, Boolean)

Sets a Boolean value that controls whether the button will use the default padding.

SetUseDefaultPadding(IPlatformElementConfiguration<Android,Button>, Boolean)

Sets a Boolean value that controls whether the button will use the default padding.

SetUseDefaultShadow(BindableObject, Boolean)

Sets a Boolean value that controls whether the button will use the default shadow.

SetUseDefaultShadow(IPlatformElementConfiguration<Android,Button>, Boolean)

Sets a Boolean value that controls whether the button will use the default shadow.

UseDefaultPadding(IPlatformElementConfiguration<Android,Button>)

Returns true if the button will use the default padding. Otherwise, returns false.

UseDefaultShadow(IPlatformElementConfiguration<Android,Button>)

Returns true if the button will use the default shadow. Otherwise, returns false.

Applies to