DataGridCell.OnKeyDown(KeyEventArgs) 方法

定義

報告已按下按鍵。Reports that a key was pressed.

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

事件的資料。The data for the event.

備註

這個方法會將鍵盤輸入傳遞至 Column 包含儲存格的。This method passes keyboard input to the Column that contains the cell. 每個資料行都會以適用于資料行類型的方式來處理輸入。Each column handles the input in a way that is appropriate for the column type.

適用於