Redigera

Dela via


Keyboard.KeyDownEvent Field

Definition

Identifies the KeyDown attached event.

public: static initonly System::Windows::RoutedEvent ^ KeyDownEvent;
public static readonly System.Windows.RoutedEvent KeyDownEvent;
 staticval mutable KeyDownEvent : System.Windows.RoutedEvent
Public Shared ReadOnly KeyDownEvent As RoutedEvent 

Field Value

Remarks

Routed event identifiers are created when routed events are registered, and the result is stored as a field on the class that registers the routed event. These identifiers contain an identifying name, owner type, handler type, routing strategy, and a utility method for adding owners for the event. You often use these identifiers as parameters to event system methods, to identify a particular routed event.

Applies to