VisualElement.SetIsShadowEnabled Methode

Definition

Überlädt

SetIsShadowEnabled(BindableObject, Boolean)

Legt einen booleschen Wert fest, der steuert, ob der Schatteneffekt aktiviert ist.

SetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Legt einen booleschen Wert fest, der steuert, ob der Schatteneffekt aktiviert ist.

SetIsShadowEnabled(BindableObject, Boolean)

Legt einen booleschen Wert fest, der steuert, ob der Schatteneffekt aktiviert ist.

public static void SetIsShadowEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetIsShadowEnabled : Xamarin.Forms.BindableObject * bool -> unit

Parameter

element
BindableObject

Das plattformspezifische Element, für das der Vorgang ausgeführt werden soll.

value
System.Boolean

true, um Schatten zu aktivieren. Andernfalls false.

Gilt für:

SetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Legt einen booleschen Wert fest, der steuert, ob der Schatteneffekt aktiviert ist.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> SetIsShadowEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> config, bool value);
static member SetIsShadowEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement>

Parameter

config
IPlatformElementConfiguration<iOS,VisualElement>

Die plattformspezifische Konfiguration, die das Element enthält, für das der Vorgang ausgeführt werden soll.

value
System.Boolean

true, um Schatten zu aktivieren. Andernfalls false.

Gibt zurück

Das aktualisierte Konfigurationsobjekt, für das Entwickler aufeinander folgende Methodenaufrufe vornehmen können.

Gilt für: