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 );
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.
UpDownBase Class | UpDownBase Members | System.WinForms Namespace