DataGridCell.OnPreviewKeyDown Method (KeyEventArgs)

.NET Framework (current version)

Reports that a key was pressed.

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

Protected Overrides Sub OnPreviewKeyDown (
	e As KeyEventArgs


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
Available since 4.5
Return to top