HandlerAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个抽象属性,其子类为 Microsoft.Maui.Controls 抽象控件指定特定于平台的呈现器。
public ref class HandlerAttribute abstract : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public abstract class HandlerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type HandlerAttribute = class
inherit Attribute
Public MustInherit Class HandlerAttribute
Inherits Attribute
- 继承
-
HandlerAttribute
- 派生
- 属性
构造函数
HandlerAttribute(Type, Type) |
一个抽象属性,其子类为 Microsoft.Maui.Controls 抽象控件指定特定于平台的呈现器。 |
HandlerAttribute(Type, Type, Type[]) |
一个抽象属性,其子类为 Microsoft.Maui.Controls 抽象控件指定特定于平台的呈现器。 |
属性
Priority |
一个抽象属性,其子类为 Microsoft.Maui.Controls 抽象控件指定特定于平台的呈现器。 |
方法
ShouldRegister() |
返回一个布尔值,该值指示运行时是否应自动为目标注册处理程序。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈