Share via


VisualElement.SetShadowColor Method

Definition

Overloads

SetShadowColor(BindableObject, Color)

Sets the shadow color.

SetShadowColor(IPlatformElementConfiguration<iOS,VisualElement>, Color)

Sets the shadow color.

SetShadowColor(BindableObject, Color)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the shadow color.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
Color

The new shadow color value.

Applies to

SetShadowColor(IPlatformElementConfiguration<iOS,VisualElement>, Color)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the shadow color.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetShadowColor(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, Microsoft::Maui::Graphics::Color ^ value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> SetShadowColor (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> config, Microsoft.Maui.Graphics.Color value);
static member SetShadowColor : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement> * Microsoft.Maui.Graphics.Color -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetShadowColor (config As IPlatformElementConfiguration(Of iOS, VisualElement), value As Color) 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
Color

The new shadow color value.

Returns

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

Applies to