VisualElement.GetShadowColor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
特定于平台的配置,包含要对其执行操作的元素。
返回
当前阴影颜色。