Button.SetUseDefaultPadding Method

Definition

Overloads

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.

SetUseDefaultPadding(BindableObject, Boolean)

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

public static void SetUseDefaultPadding (Xamarin.Forms.BindableObject element, bool value);
static member SetUseDefaultPadding : Xamarin.Forms.BindableObject * bool -> unit

Parameters

element
BindableObject

The Android button whose padding behavior to set.

value
System.Boolean

true to use the default padding. Otherwise, false

Applies to

SetUseDefaultPadding(IPlatformElementConfiguration<Android,Button>, Boolean)

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

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.Button> SetUseDefaultPadding (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.Button> config, bool value);
static member SetUseDefaultPadding : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.Button> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.Button>

Parameters

config
IPlatformElementConfiguration<Android,Button>

The configuration for the Android button whose padding behavior to set.

value
System.Boolean

true to use the default padding. Otherwise, false

Returns

A fluent object on which the developer may make further method calls.

Applies to