TextBoxBase.OnPreviewKeyDown(KeyEventArgs) 方法

定义

KeyDown 发生时调用。Called when the KeyDown occurs.

protected:
 override void OnPreviewKeyDown(System::Windows::Input::KeyEventArgs ^ e);
protected override void OnPreviewKeyDown (System.Windows.Input.KeyEventArgs e);
override this.OnPreviewKeyDown : System.Windows.Input.KeyEventArgs -> unit
Protected Overrides Sub OnPreviewKeyDown (e As KeyEventArgs)

参数

e
KeyEventArgs

事件数据。The event data.

适用于