Freigeben über


VisualElement.SetShadowOffset Methode

Definition

Überlädt

SetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>, Size)

Legt den Schattenoffset fest.

SetShadowOffset(BindableObject, Size)

Legt den Schattenoffset fest.

SetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>, Size)

Quelle:
VisualElement.cs
Quelle:
VisualElement.cs

Legt den Schattenoffset fest.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetShadowOffset(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, Microsoft::Maui::Graphics::Size value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> SetShadowOffset (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> config, Microsoft.Maui.Graphics.Size value);
static member SetShadowOffset : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement> * Microsoft.Maui.Graphics.Size -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetShadowOffset (config As IPlatformElementConfiguration(Of iOS, VisualElement), value As Size) As IPlatformElementConfiguration(Of iOS, VisualElement)

Parameter

config
IPlatformElementConfiguration<iOS,VisualElement>

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

value
Size

Der neue Wert des Schattenoffsets.

Gibt zurück

Ein Fluent-Objekt, für das der Entwickler möglicherweise weitere Methodenaufrufe durchführt.

Gilt für:

SetShadowOffset(BindableObject, Size)

Quelle:
VisualElement.cs
Quelle:
VisualElement.cs

Legt den Schattenoffset fest.

public:
 static void SetShadowOffset(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Graphics::Size value);
public static void SetShadowOffset (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Graphics.Size value);
static member SetShadowOffset : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Size -> unit
Public Sub SetShadowOffset (element As BindableObject, value As Size)

Parameter

element
BindableObject

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

value
Size

Der neue Wert des Schattenoffsets.

Gilt für: