OnKeyDown Method

DataGridCell.OnKeyDown Method (KeyEventArgs)

.NET Framework 4.6 and 4.5

Reports that a key was pressed.

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

override OnKeyDown : 
        e:KeyEventArgs -> unit


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.0
Return to top
© 2015 Microsoft