Share via


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>)

Source:
VisualElement.cs
Source:
VisualElement.cs

Gets the elevation for the element.

public:
[System::Runtime::CompilerServices::Extension]
 static Nullable<float> GetElevation(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::VisualElement ^> ^ config);
public static float? GetElevation (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.VisualElement> config);
static member GetElevation : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.VisualElement> -> Nullable<single>
<Extension()>
Public Function GetElevation (config As IPlatformElementConfiguration(Of Android, VisualElement)) As Nullable(Of Single)

Parameters

config
IPlatformElementConfiguration<Android,VisualElement>

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

Returns

The elevation for the element.

Applies to

GetElevation(VisualElement)

Source:
VisualElement.cs
Source:
VisualElement.cs

Gets the elevation for the element.

public:
 static Nullable<float> GetElevation(Microsoft::Maui::Controls::VisualElement ^ element);
public static float? GetElevation (Microsoft.Maui.Controls.VisualElement element);
static member GetElevation : Microsoft.Maui.Controls.VisualElement -> Nullable<single>
Public Function GetElevation (element As VisualElement) As Nullable(Of Single)

Parameters

element
VisualElement

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

Returns

The elevation for the element.

Applies to