Button Class

Definition

Controls padding and shadows for buttons on the Android platform.

public static class Button
type Button = class
Inheritance
Button

Fields

UseDefaultPaddingProperty

Backing store for the attached property that controls whether the button will use the default padding.

UseDefaultShadowProperty

Backing store for the attached property that controls whether the button will use the default shadow.

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