Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / OnKeyPress Method
A System.Windows.Forms.KeyPressEventArgs that contains the event data.


In This Topic
    OnKeyPress Method (SmartItem)
    In This Topic
    Raises the KeyPress event.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnKeyPress( _
       ByVal e As KeyPressEventArgs _
    ) 
    'Usage
     
    Dim instance As SmartItem
    Dim e As KeyPressEventArgs
     
    instance.OnKeyPress(e)
    protected virtual void OnKeyPress( 
       KeyPressEventArgs e
    )

    Parameters

    e
    A System.Windows.Forms.KeyPressEventArgs that contains the event data.
    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