VisualElement.SetElevation 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
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>)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Sets the elevation for the visual element.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetElevation(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, Nullable<float> value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.VisualElement> SetElevation (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.VisualElement> config, float? value);
static member SetElevation : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.VisualElement> * Nullable<single> -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetElevation (config As IPlatformElementConfiguration(Of Android, VisualElement), value As Nullable(Of Single)) As IPlatformElementConfiguration(Of Android, VisualElement)
Parameters
The visual element on the Android platform whose elevation to set.
Returns
Applies to
SetElevation(VisualElement, Nullable<Single>)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Sets the elevation for the visual element.
public:
static void SetElevation(Microsoft::Maui::Controls::VisualElement ^ element, Nullable<float> value);
public static void SetElevation (Microsoft.Maui.Controls.VisualElement element, float? value);
static member SetElevation : Microsoft.Maui.Controls.VisualElement * Nullable<single> -> unit
Public Sub SetElevation (element As VisualElement, value As Nullable(Of Single))
Parameters
- element
- VisualElement
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.