VisualElement.GetElevation 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
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
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.