DataGridCell.OnPreviewKeyDown(KeyEventArgs) DataGridCell.OnPreviewKeyDown(KeyEventArgs) DataGridCell.OnPreviewKeyDown(KeyEventArgs) DataGridCell.OnPreviewKeyDown(KeyEventArgs) Method

Definition

Reports that a key was pressed.

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)

Parameters

Remarks

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.

Applies to