Keyboard.PreviewKeyDownEvent Keyboard.PreviewKeyDownEvent Keyboard.PreviewKeyDownEvent Keyboard.PreviewKeyDownEvent Field

Definition

Identifies the PreviewKeyDown attached event.

public: static initonly System::Windows::RoutedEvent ^ PreviewKeyDownEvent;
public static readonly System.Windows.RoutedEvent PreviewKeyDownEvent;
 staticval mutable PreviewKeyDownEvent : System.Windows.RoutedEvent
Public Shared ReadOnly PreviewKeyDownEvent 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