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>)
- 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.