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!

UpDownBase.OnEditKeyPress

Raises the System.WinForms.UpDownBase.EditKeyPress event.

[Visual Basic]
Overridable Protected Sub OnEditKeyPress( _
   ByVal source As Object, _
   ByVal e As KeyPressEventArgs _
)
[C#]
protected virtual void OnEditKeyPress(
   object source,
   KeyPressEventArgs e
);
[C++]
protected: virtual void OnEditKeyPress(
   Object* source,
   KeyPressEventArgs* e
);
[JScript]
protected function OnEditKeyPress(
   source : Object,
   e : KeyPressEventArgs
);

Parameters

source
The source of the event.
e
A KeyPressEventArgs that contains the event data.

Remarks

Notes to Implementers: This method can be overridden by derived controls to restrict the entry to certain characters. The default behavior allows any character to be entered.

See Also

UpDownBase Class | UpDownBase Members | System.WinForms Namespace