Xceed Grid for WinForms v4.3 Documentation
OnKeyPress Method (WinCalculator)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCalculator Class : OnKeyPress Method
A System.Windows.Forms.KeyPressEventArgs that contains the event data.
Raises the System.Windows.Forms.Control.KeyPress event.
Syntax
'Declaration
 
Protected Overrides Sub OnKeyPress( _

   ByVal e As KeyPressEventArgs _

) 
'Usage
 
Dim instance As WinCalculator

Dim e As KeyPressEventArgs

 

instance.OnKeyPress(e)
protected override void OnKeyPress( 

   KeyPressEventArgs e

)

Parameters

e
A System.Windows.Forms.KeyPressEventArgs that contains the event data.
Remarks
When overriding OnKeyPress in a derived class, be sure to call the base class's OnKeyPress method so that registered delegates receive the event.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinCalculator Class
WinCalculator Members
Base Implementation in OnKeyPress