EventHandlerAttribute クラス

定義

イベント引数の型をイベント属性名に関連付けます。

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
継承
EventHandlerAttribute
属性

コンストラクター

EventHandlerAttribute(String, Type)

のインスタンス EventHandlerAttributeを構築します。

EventHandlerAttribute(String, Type, Boolean, Boolean)

のインスタンス EventHandlerAttributeを構築します。

プロパティ

AttributeName

属性名を取得します。

EnablePreventDefault

既定のイベント フローを防ぐイベントの機能を取得します。

EnableStopPropagation

伝達を停止するイベントの機能を取得します。

EventArgsType

イベント引数の型を取得します。

適用対象