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>)
Sets the elevation for the visual element.
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.VisualElement> SetElevation (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.VisualElement> config, float? value);
static member SetElevation : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.VisualElement> * Nullable<single> -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.VisualElement>
Parameters
- value
- System.Nullable<System.Single>
The new elevation value.
Returns
Applies to
SetElevation(VisualElement, Nullable<Single>)
Sets the elevation for the visual element.
public static void SetElevation (Xamarin.Forms.VisualElement element, float? value);
static member SetElevation : Xamarin.Forms.VisualElement * Nullable<single> -> unit
Parameters
- element
- VisualElement
The visual element on the Android platform whose elevation to set.
- value
- System.Nullable<System.Single>
The new elevation value.