Udostępnij za pośrednictwem


VisualElement.SetShadowOpacity Method

Definition

Overloads

SetShadowOpacity(BindableObject, Double)

Sets the shadow opacity.

SetShadowOpacity(IPlatformElementConfiguration<iOS,VisualElement>, Double)

Sets the shadow opacity.

SetShadowOpacity(BindableObject, Double)

Sets the shadow opacity.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
System.Double

The new shadow opacity value.

Applies to

SetShadowOpacity(IPlatformElementConfiguration<iOS,VisualElement>, Double)

Sets the shadow opacity.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> SetShadowOpacity (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> config, double value);
static member SetShadowOpacity : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement> * double -> 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
System.Double

The new shadow opacity value.

Returns

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

Applies to