EventHandlerAttribute Clase

Definición

Asocia un tipo de argumento de evento con un nombre de atributo de 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
Herencia
EventHandlerAttribute
Atributos

Constructores

EventHandlerAttribute(String, Type)

Construye una instancia de EventHandlerAttribute.

EventHandlerAttribute(String, Type, Boolean, Boolean)

Construye una instancia de EventHandlerAttribute.

Propiedades

AttributeName

Obtiene el nombre del atributo.

EnablePreventDefault

Obtiene la capacidad del evento para evitar el flujo de eventos predeterminado.

EnableStopPropagation

Obtiene la capacidad del evento para detener la propagación.

EventArgsType

Obtiene el tipo de argumento de evento.

Se aplica a