แก้ไข

แชร์ผ่าน


ElementHost.PreviewKeyDown Event

Definition

Occurs before the KeyDown event when a key is pressed while focus is on this control.

public:
 event System::Windows::Forms::PreviewKeyDownEventHandler ^ PreviewKeyDown;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.PreviewKeyDownEventHandler PreviewKeyDown;
[<System.ComponentModel.Browsable(false)>]
member this.PreviewKeyDown : System.Windows.Forms.PreviewKeyDownEventHandler 
Public Custom Event PreviewKeyDown As PreviewKeyDownEventHandler 

Event Type

Attributes

Remarks

For more information about the PreviewKeyDown event, see Control.PreviewKeyDown.

Applies to

See also