Share via


VisualElement.SetShadowOpacity Method

Definition

Overloads

SetShadowOpacity(BindableObject, Double)

Sets the shadow opacity.

SetShadowOpacity(IPlatformElementConfiguration<iOS,VisualElement>, Double)

Sets the shadow opacity.

SetShadowOpacity(BindableObject, Double)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the shadow opacity.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
Double

The new shadow opacity value.

Applies to

SetShadowOpacity(IPlatformElementConfiguration<iOS,VisualElement>, Double)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the shadow opacity.

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

The new shadow opacity value.

Returns

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

Applies to