語言

DataGridCell.OnPreviewKeyDown(KeyEventArgs) 方法

定義

報告說有人按下了按鍵。

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

活動的數據。

備註

此方法將鍵盤輸入傳送至包含該儲存格的 。Column 每個欄位會以符合欄位類型的方式處理輸入。

適用於