Share via


VisualElement.GetShadowOffset Method

Definition

Overloads

GetShadowOffset(BindableObject)

Gets the current shadow offset.

GetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>)

Gets the current shadow offset.

GetShadowOffset(BindableObject)

Source:
VisualElement.cs
Source:
VisualElement.cs

Gets the current shadow offset.

public:
 static Microsoft::Maui::Graphics::Size GetShadowOffset(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Graphics.Size GetShadowOffset (Microsoft.Maui.Controls.BindableObject element);
static member GetShadowOffset : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Graphics.Size
Public Function GetShadowOffset (element As BindableObject) As Size

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

Returns

The current shadow offset.

Applies to

GetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>)

Source:
VisualElement.cs
Source:
VisualElement.cs

Gets the current shadow offset.

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

Parameters

config
IPlatformElementConfiguration<iOS,VisualElement>

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

Returns

The current shadow offset.

Applies to