NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.OnKeyDown

Raises the System.WinForms.Control.KeyDown event.

[Visual Basic]
Overrides Protected Sub OnKeyDown( _
   ByVal ke As KeyEventArgs _
)
[C#]
protected override void OnKeyDown(
   KeyEventArgs ke
);
[C++]
protected: override void OnKeyDown(
   KeyEventArgs* ke
);
[JScript]
protected override function OnKeyDown(
   ke : KeyEventArgs
);

Parameters

ke
A KeyEventArgs that provides data about the OnKeyDown event.

Remarks

Raising an event invokes the event-handling method through a delegate. For an overview, see TBD. Notes to Inheritors When overriding OnKeyDown in a derived class, be sure to call the base class's OnKeyDown method.

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace