VisualElement.SetElevation Method

Definition

Overloads

SetElevation(IPlatformElementConfiguration<Android,VisualElement>, Nullable<Single>)

Sets the elevation for the visual element.

SetElevation(VisualElement, Nullable<Single>)

Sets the elevation for the visual element.

SetElevation(IPlatformElementConfiguration<Android,VisualElement>, Nullable<Single>)

Sets the elevation for the visual element.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.VisualElement> SetElevation (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.VisualElement> config, float? value);
static member SetElevation : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.VisualElement> * Nullable<single> -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.VisualElement>

Parameters

value
Nullable<Single>

The new elevation value.

Returns

Applies to

SetElevation(VisualElement, Nullable<Single>)

Sets the elevation for the visual element.

public static void SetElevation (Xamarin.Forms.VisualElement element, float? value);
static member SetElevation : Xamarin.Forms.VisualElement * Nullable<single> -> unit

Parameters

element
VisualElement

The visual element on the Android platform whose elevation to set.

value
Nullable<Single>

The new elevation value.

Applies to