VisualElement.SetShadowRadius 方法

定义

重载

SetShadowRadius(BindableObject, Double)

设置阴影半径。

SetShadowRadius(IPlatformElementConfiguration<iOS,VisualElement>, Double)

设置阴影半径。

SetShadowRadius(BindableObject, Double)

Source:
VisualElement.cs
Source:
VisualElement.cs

设置阴影半径。

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

参数

element
BindableObject

要对其执行操作的特定于平台的元素。

value
Double

新的阴影半径值。

适用于

SetShadowRadius(IPlatformElementConfiguration<iOS,VisualElement>, Double)

Source:
VisualElement.cs
Source:
VisualElement.cs

设置阴影半径。

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

参数

config
IPlatformElementConfiguration<iOS,VisualElement>

特定于平台的配置,包含要对其执行操作的元素。

value
Double

新的阴影半径值。

返回

开发者可对其进行进一步方法调用的 fluent 对象。

适用于