VisualElement.SetElevation Yöntem

Tanım

Aşırı Yüklemeler

SetElevation(IPlatformElementConfiguration<Android,VisualElement>, Nullable<Single>)

Görsel öğe için yükseltmeyi ayarlar.

SetElevation(VisualElement, Nullable<Single>)

Görsel öğe için yükseltmeyi ayarlar.

SetElevation(IPlatformElementConfiguration<Android,VisualElement>, Nullable<Single>)

Görsel öğe için yükseltmeyi ayarlar.

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>

Parametreler

value
Nullable<Single>

Yeni yükseltme değeri.

Döndürülenler

IPlatformElementConfiguration<Android,VisualElement>

Şunlara uygulanır

SetElevation(VisualElement, Nullable<Single>)

Görsel öğe için yükseltmeyi ayarlar.

public static void SetElevation (Xamarin.Forms.VisualElement element, float? value);
static member SetElevation : Xamarin.Forms.VisualElement * Nullable<single> -> unit

Parametreler

element
VisualElement

SDK 'nın ayarlanan yükseltmesi olan Android platformunun görsel öğesi.

value
Nullable<Single>

Yeni yükseltme değeri.

Şunlara uygulanır