Button.SetUseDefaultShadow 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
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
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.