DataGridCell.OnKeyDown(KeyEventArgs) Method

Definition

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)

Parameters

e
KeyEventArgs

The data for the event.

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