Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataGridCell.OnPreviewKeyDown Method

.NET Framework 4.6 and 4.5

Reports that a key was pressed.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override void OnPreviewKeyDown(
	KeyEventArgs e
)

Parameters

e
Type: System.Windows.Input.KeyEventArgs

The data for the event.

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.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft