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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : OnKeyPress Method
A System.Windows.Forms.KeyPressEventArgs that contains the event data.
Raises the KeyPress event.
Syntax
'Declaration
 
Protected Friend Overridable Sub OnKeyPress( _
   ByVal e As KeyPressEventArgs _
) 
'Usage
 
Dim instance As VisualGridElement
Dim e As KeyPressEventArgs
 
instance.OnKeyPress(e)
protected internal virtual 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

VisualGridElement Class
VisualGridElement Members