Freigeben über


VisualElement.SetShadowColor Methode

Definition

Überlädt

SetShadowColor(BindableObject, Color)

Legt die Schattenfarbe fest.

SetShadowColor(IPlatformElementConfiguration<iOS,VisualElement>, Color)

Legt die Schattenfarbe fest.

SetShadowColor(BindableObject, Color)

Legt die Schattenfarbe fest.

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

Parameter

element
BindableObject

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

value
Color

Der neue Wert für die Schattenfarbe.

Gilt für:

SetShadowColor(IPlatformElementConfiguration<iOS,VisualElement>, Color)

Legt die Schattenfarbe fest.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> SetShadowColor (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> config, Xamarin.Forms.Color value);
static member SetShadowColor : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement> * Xamarin.Forms.Color -> 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
Color

Der neue Wert für die Schattenfarbe.

Gibt zurück

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

Gilt für: