HandlerAttribute HandlerAttribute Class

Definition

An abstract attribute whose subclasses specify the platform-specific renderers for Xamarin.Forms abstract controls.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public abstract class HandlerAttribute : Attribute
type HandlerAttribute = class
    inherit Attribute
Inheritance
HandlerAttributeHandlerAttribute
Attributes

Constructors

HandlerAttribute(Type, Type) HandlerAttribute(Type, Type)

Creates a new HandlerAttribute object that maps events from target to handler.

Methods

ShouldRegister() ShouldRegister()

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

Applies to