PlatformEffect<TContainer,TControl> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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>() |
属性
Container | |
Control | |
Element |
获取该样式附加到的元素。 (继承自 Effect) |
IsAttached |
获取一个值,指示效果是否已附加到元素。 (继承自 Effect) |
ResolveId |
获取用于在运行时解析此效果的 ID。 (继承自 Effect) |
方法
OnAttached() | (继承自 Effect) |
OnDetached() | (继承自 Effect) |
OnElementPropertyChanged(PropertyChangedEventArgs) |