IInputElement.KeyDown IInputElement.KeyDown IInputElement.KeyDown IInputElement.KeyDown Event

定義

鍵盤以此元素為焦點且按下按鍵時發生。Occurs when a key is pressed while the keyboard is focused on this element.

public:
 event System::Windows::Input::KeyEventHandler ^ KeyDown;
event System.Windows.Input.KeyEventHandler KeyDown;
member this.KeyDown : System.Windows.Input.KeyEventHandler 
Event KeyDown As KeyEventHandler 

備註

此介面不適用於公用的執行。This interface is not intended for public implementation. 如需詳細資訊, 請參閱IInputElement介面的備註。For more information, see remarks for the IInputElement interface.

適用於

另請參閱