Condividi tramite


HandlerAttribute Class

Definition

An abstract attribute whose subclasses specify the platform-specific renderers for Microsoft.Maui.Controls abstract 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
Inheritance
HandlerAttribute
Derived
Attributes

Constructors

HandlerAttribute(Type, Type, Type[])
HandlerAttribute(Type, Type)

Properties

Priority

Methods

ShouldRegister()

Returns a Boolean value that indicates whether the runtime should automatically register the handler for the target.

Applies to