EventHandlerAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Associates an event argument type with an event attribute name.
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
- Inheritance
-
EventHandlerAttribute
- Attributes
Constructors
EventHandlerAttribute(String, Type, Boolean, Boolean) |
Constructs an instance of EventHandlerAttribute. |
EventHandlerAttribute(String, Type) |
Constructs an instance of EventHandlerAttribute. |
Properties
AttributeName |
Gets the attribute name. |
EnablePreventDefault |
Gets the event's ability to prevent default event flow. |
EnableStopPropagation |
Gets the event's ability to stop propagation. |
EventArgsType |
Gets the event argument type. |