Share via


VisualElement.SetShadowOffset Method

Definition

Overloads

SetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>, Size)

Sets the shadow offset.

SetShadowOffset(BindableObject, Size)

Sets the shadow offset.

SetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>, Size)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the shadow offset.

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)

Parameters

config
IPlatformElementConfiguration<iOS,VisualElement>

The platform specific configuration that contains the element on which to perform the operation.

value
Size

The new shadow offset value.

Returns

A fluent object on which the developer may make further method calls.

Applies to

SetShadowOffset(BindableObject, Size)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the shadow offset.

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)

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
Size

The new shadow offset value.

Applies to