ElementHost.KeyPress 事件

定義

發生於按下按鍵且焦點在控制項時。Occurs when a key is pressed while the control has focus.

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

事件類型

KeyPressEventHandler
屬性

備註

如需 KeyPress 事件的詳細資訊,請參閱Control.KeyPressFor more information about the KeyPress event, see Control.KeyPress.

適用於

另請參閱