Share via


VisualElement 類別

定義

可存取 iOS 平台上的模糊效果、陰影效果和舊版色彩模式。

public static class VisualElement
type VisualElement = class
繼承
System.Object
VisualElement

欄位

BlurEffectProperty

控制套用模糊效果 (若有) 的附加屬性備份存放區。

CanBecomeFirstResponderProperty

可存取 iOS 平台上的模糊效果、陰影效果和舊版色彩模式。

IsLegacyColorModeEnabledProperty

開啟和關閉舊版色彩模式的附加屬性備份存放區。

IsShadowEnabledProperty

控制是否啟用陰影效果的附加屬性備份存放區。

ShadowColorProperty

控制陰影色彩的附加屬性備份存放區。

ShadowOffsetProperty

控制陰影位移的附加屬性備份存放區。

ShadowOpacityProperty

控制陰影不透明度的附加屬性備份存放區。

ShadowRadiusProperty

控制陰影半徑的附加屬性備份存放區。

方法

CanBecomeFirstResponder(IPlatformElementConfiguration<iOS,VisualElement>)

可存取 iOS 平台上的模糊效果、陰影效果和舊版色彩模式。

GetBlurEffect(BindableObject)

傳回值,控制套用的模糊效果 (若有)。

GetBlurEffect(IPlatformElementConfiguration<iOS,VisualElement>)

傳回值,指出套用的模糊效果 (若有)。

GetCanBecomeFirstResponder(BindableObject)

可存取 iOS 平台上的模糊效果、陰影效果和舊版色彩模式。

GetIsLegacyColorModeEnabled(BindableObject)

傳回舊版色彩模式。

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

傳回舊版色彩模式。

GetIsShadowEnabled(BindableObject)

取得布林值,指出是否已啟用陰影效果。

GetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

取得布林值,指出是否已啟用陰影效果。

GetShadowColor(BindableObject)

取得陰影色彩。

GetShadowColor(IPlatformElementConfiguration<iOS,VisualElement>)

取得陰影色彩。

GetShadowOffset(BindableObject)

取得陰影位移。

GetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>)

取得陰影位移。

GetShadowOpacity(BindableObject)

取得陰影不透明度。

GetShadowOpacity(IPlatformElementConfiguration<iOS,VisualElement>)

取得陰影不透明度。

GetShadowRadius(BindableObject)

取得陰影半徑。

GetShadowRadius(IPlatformElementConfiguration<iOS,VisualElement>)

取得陰影半徑。

SetBlurEffect(BindableObject, BlurEffectStyle)

設定值,控制套用的模糊效果 (若有)。

SetCanBecomeFirstResponder(BindableObject, Boolean)

可存取 iOS 平台上的模糊效果、陰影效果和舊版色彩模式。

SetCanBecomeFirstResponder(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

可存取 iOS 平台上的模糊效果、陰影效果和舊版色彩模式。

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

設定舊版色彩模式。

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

設定舊版色彩模式。

SetIsShadowEnabled(BindableObject, Boolean)

設定布林值,控制是否啟用陰影效果。

SetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

設定布林值,控制是否啟用陰影效果。

SetShadowColor(BindableObject, Color)

設定陰影色彩。

SetShadowColor(IPlatformElementConfiguration<iOS,VisualElement>, Color)

設定陰影色彩。

SetShadowOffset(BindableObject, Size)

設定陰影位移。

SetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>, Size)

設定陰影位移。

SetShadowOpacity(BindableObject, Double)

設定陰影不透明度。

SetShadowOpacity(IPlatformElementConfiguration<iOS,VisualElement>, Double)

設定陰影不透明度。

SetShadowRadius(BindableObject, Double)

設定陰影半徑。

SetShadowRadius(IPlatformElementConfiguration<iOS,VisualElement>, Double)

設定陰影半徑。

UseBlurEffect(IPlatformElementConfiguration<iOS,VisualElement>, BlurEffectStyle)

設定要使用的模糊效果。

適用於