Button.SetUseDefaultPadding Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.