PlatformEffect<TContainer,TControl> 类

定义

generic <typename TContainer, typename TControl>
 where TContainer : class where TControl : classpublic ref class PlatformEffect abstract : Microsoft::Maui::Controls::Effect
public abstract class PlatformEffect<TContainer,TControl> : Microsoft.Maui.Controls.Effect where TContainer : class where TControl : class
type PlatformEffect<'Container, 'Control (requires 'Container : null and 'Control : null)> = class
    inherit Effect
Public MustInherit Class PlatformEffect(Of TContainer, TControl)
Inherits Effect

类型参数

TContainer
TControl
继承
PlatformEffect<TContainer,TControl>
派生

构造函数

PlatformEffect<TContainer,TControl>()

属性

Container
Control
Element

获取该样式附加到的元素。

(继承自 Effect)
IsAttached

获取一个值,指示效果是否已附加到元素。

(继承自 Effect)
ResolveId

获取用于在运行时解析此效果的 ID。

(继承自 Effect)

方法

OnAttached() (继承自 Effect)
OnDetached() (继承自 Effect)
OnElementPropertyChanged(PropertyChangedEventArgs)

适用于