EventHandlerAttribute Classe

Definizione

Associa un tipo di argomento evento a un nome di attributo di evento.

public ref class EventHandlerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class EventHandlerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type EventHandlerAttribute = class
    inherit Attribute
Public NotInheritable Class EventHandlerAttribute
Inherits Attribute
Ereditarietà
EventHandlerAttribute
Attributi

Costruttori

EventHandlerAttribute(String, Type)

Costruisce un'istanza di EventHandlerAttribute.

EventHandlerAttribute(String, Type, Boolean, Boolean)

Costruisce un'istanza di EventHandlerAttribute.

Proprietà

AttributeName

Ottiene il nome dell'attributo.

EnablePreventDefault

Ottiene la capacità dell'evento di impedire il flusso di eventi predefinito.

EnableStopPropagation

Ottiene la capacità dell'evento di arrestare la propagazione.

EventArgsType

Ottiene il tipo di argomento dell'evento.

Si applica a