Editar

Compartilhar via


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

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