VisualElement.GetElevation Method

Definition

Overloads

GetElevation(IPlatformElementConfiguration<Android,VisualElement>)

Gets the elevation for the element.

GetElevation(VisualElement)

Gets the elevation for the element.

GetElevation(IPlatformElementConfiguration<Android,VisualElement>)

Gets the elevation for the element.

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

Parameters

config
IPlatformElementConfiguration<Android,VisualElement>

The platform configuration for the visual element on the Android platform whose elevation to get.

Returns

System.Nullable<System.Single>

The elevation for the element.

Applies to

GetElevation(VisualElement)

Gets the elevation for the element.

public static float? GetElevation (Xamarin.Forms.VisualElement element);
static member GetElevation : Xamarin.Forms.VisualElement -> Nullable<single>

Parameters

element
VisualElement

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

Returns

System.Nullable<System.Single>

The elevation for the element.

Applies to