Button.SetUseDefaultShadow Method

Definition

Overloads

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.

SetUseDefaultShadow(BindableObject, Boolean)

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

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

Parameters

element
BindableObject

The Android button whose shadow behavior to set.

value
System.Boolean

true to use the default shadow. Otherwise, false

Applies to

SetUseDefaultShadow(IPlatformElementConfiguration<Android,Button>, Boolean)

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

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.Button> SetUseDefaultShadow (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.Button> config, bool value);
static member SetUseDefaultShadow : 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 shadow behavior to set.

value
System.Boolean

true to use the default shadow. Otherwise, false

Returns

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

Applies to