DataGrid.OnKeyDown(KeyEventArgs) 方法

定義

收到 KeyDown 事件時叫用。

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

參數

e
KeyEventArgs

事件相關資訊。

備註

如需 中默認鍵盤行為 DataGrid的詳細資訊,請參閱 DataGrid 控件中的預設鍵盤和滑鼠行為

適用於

另請參閱