VisualElement 类

定义

提供对 iOS 平台上的模糊效果、阴影效果以及旧版颜色模式的访问。

public ref class VisualElement abstract sealed
public static class VisualElement
type VisualElement = class
Public Module VisualElement
继承
VisualElement

字段

BlurEffectProperty

附加属性的可绑定属性 BlurEffect

CanBecomeFirstResponderProperty

的可绑定属性 CanBecomeFirstResponder(IPlatformElementConfiguration<iOS,VisualElement>)

IsLegacyColorModeEnabledProperty

附加属性的可绑定属性 IsLegacyColorModeEnabled

IsShadowEnabledProperty

附加属性的可绑定属性 IsShadowEnabled

ShadowColorProperty

附加属性的可绑定属性 ShadowColor

ShadowOffsetProperty

附加属性的可绑定属性 ShadowOffset

ShadowOpacityProperty

附加属性的可绑定属性 ShadowOpacity

ShadowRadiusProperty

附加属性的可绑定属性 ShadowRadius

方法

CanBecomeFirstResponder(IPlatformElementConfiguration<iOS,VisualElement>)

获取此元素是否可以成为触摸事件的第一个响应者,而不是包含该元素的页面。

GetBlurEffect(BindableObject)

返回一个值,该值控制应用哪种模糊效果(如果有)。

GetBlurEffect(IPlatformElementConfiguration<iOS,VisualElement>)

返回一个值,该值控制应用哪种模糊效果(如果有)。

GetCanBecomeFirstResponder(BindableObject)

获取此元素是否可以成为触摸事件的第一个响应者,而不是包含该元素的页面。

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)

设置此元素是否可以成为触摸事件的第一个响应者,而不是包含该元素的页面。

SetCanBecomeFirstResponder(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

设置此元素是否可以成为触摸事件的第一个响应者,而不是包含该元素的页面。

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)

设置要使用的模糊效果。

适用于