DataGridCell.OnPreviewKeyDown(KeyEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.