VisualElement.SetIsShadowEnabled Method

Definition

Overloads

SetIsShadowEnabled(BindableObject, Boolean)

Sets a Boolean value that controls whether the shadow effect is enabled.

SetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Sets a Boolean value that controls whether the shadow effect is enabled.

SetIsShadowEnabled(BindableObject, Boolean)

Sets a Boolean value that controls whether the shadow effect is enabled.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
Boolean

true to enable the shadow. Otherwise, false.

Applies to

SetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Sets a Boolean value that controls whether the shadow effect is enabled.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> SetIsShadowEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> config, bool value);
static member SetIsShadowEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement>

Parameters

config
IPlatformElementConfiguration<iOS,VisualElement>

The platform specific configuration that contains the element on which to perform the operation.

value
Boolean

true to enable the shadow. Otherwise, false.

Returns

IPlatformElementConfiguration<iOS,VisualElement>

The updated configuration object on which developers can make successive method calls.

Applies to