VisualElement.GetShadowColor 方法

定义

重载

GetShadowColor(BindableObject)

获取当前阴影颜色。

GetShadowColor(IPlatformElementConfiguration<iOS,VisualElement>)

获取当前阴影颜色。

GetShadowColor(BindableObject)

Source:
VisualElement.cs
Source:
VisualElement.cs

获取当前阴影颜色。

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

参数

element
BindableObject

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

返回

当前阴影颜色。

适用于

GetShadowColor(IPlatformElementConfiguration<iOS,VisualElement>)

Source:
VisualElement.cs
Source:
VisualElement.cs

获取当前阴影颜色。

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

参数

config
IPlatformElementConfiguration<iOS,VisualElement>

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

返回

当前阴影颜色。

适用于