Compartilhar via


VisualElement.SetShadowOpacity Método

Definição

Sobrecargas

SetShadowOpacity(BindableObject, Double)

Define a opacidade da sombra.

SetShadowOpacity(IPlatformElementConfiguration<iOS,VisualElement>, Double)

Define a opacidade da sombra.

SetShadowOpacity(BindableObject, Double)

Origem:
VisualElement.cs
Origem:
VisualElement.cs

Define a opacidade da sombra.

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)

Parâmetros

element
BindableObject

O elemento específico da plataforma na qual executar a operação.

value
Double

O novo valor de opacidade de sombra.

Aplica-se a

SetShadowOpacity(IPlatformElementConfiguration<iOS,VisualElement>, Double)

Origem:
VisualElement.cs
Origem:
VisualElement.cs

Define a opacidade da sombra.

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)

Parâmetros

config
IPlatformElementConfiguration<iOS,VisualElement>

A configuração específica de plataforma que contém o elemento no qual executar a operação.

value
Double

O novo valor de opacidade de sombra.

Retornos

Um objeto fluente no qual o desenvolvedor pode fazer mais chamadas de método.

Aplica-se a