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!

DataGridRow.OnKeyPress

Called by the DataGrid when a keypress occurs on a row with "focus."

[Visual Basic]
Overridable Public Function OnKeyPress( _
   ByVal keyData As Keys _
) As Boolean
[C#]
public virtual bool OnKeyPress(
   Keys keyData
);
[C++]
public: virtual bool OnKeyPress(
   Keys keyData
);
[JScript]
public function OnKeyPress(
   keyData : Keys
) : Boolean;

Parameters

keyData
[To be supplied.]

Return Value

True if the keypress has been handled and the grid should not process it any further. False otherwise.

See Also

DataGridRow Class | DataGridRow Members | System.WinForms Namespace