EventHandlerAttribute Klasa

Definicja

Kojarzy typ argumentu zdarzenia z nazwą atrybutu zdarzenia.

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
Dziedziczenie
EventHandlerAttribute
Atrybuty

Konstruktory

EventHandlerAttribute(String, Type)

Tworzy wystąpienie klasy EventHandlerAttribute.

EventHandlerAttribute(String, Type, Boolean, Boolean)

Tworzy wystąpienie klasy EventHandlerAttribute.

Właściwości

AttributeName

Pobiera nazwę atrybutu.

EnablePreventDefault

Pobiera możliwość zapobiegania domyślnemu przepływowi zdarzeń.

EnableStopPropagation

Pobiera możliwość zatrzymania propagacji zdarzenia.

EventArgsType

Pobiera typ argumentu zdarzenia.

Dotyczy