Xamarin.Forms Guides | Samples

Xamarin.Forms.HandlerAttribute Class

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

See Also: HandlerAttribute


[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public abstract class HandlerAttribute : Attribute


Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:,,,,,,

The members of Xamarin.Forms.HandlerAttribute are listed below.

See Also: Attribute

Protected Constructors

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

Public Methods

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