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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > Cell Class : OnKeyPress Method
A System.Windows.Forms.KeyPressEventArgs that contains the event data.
Raises the KeyPress event.
Syntax
'Declaration
 
Protected Friend Overrides Sub OnKeyPress( _

   ByVal e As KeyPressEventArgs _

) 
'Usage
 
Dim instance As Cell

Dim e As KeyPressEventArgs

 

instance.OnKeyPress(e)
protected internal 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

Cell Class
Cell Members
Base Implementation in OnKeyPress