GrapeCity MultiRow Windows Forms Documentation
CellKeyPressEventArgs Constructor(CellScope,Int32,Int32,String,Char)


The scope of the cell. The values are CellScope.Row, CellScope.ColumnHeader, and CellScope.ColumnFooter.
The index of the owner Section of the current cell.
The cell index in its parent Section.
The cell name.
The ASCII character that corresponds to the key the user pressed.
Initializes a new instance of the CellKeyPressEventArgs class.
Syntax
<SuppressMessageAttribute(Category="Microsoft.Naming", 
   CheckId="CA1720:IdentifiersShouldNotContainTypeNames", 
   Scope="", 
   Target="", 
   MessageId="char", 
   Justification="")>
Public Function New( _
   ByVal scope As CellScope, _
   ByVal sectionIndex As Integer, _
   ByVal cellIndex As Integer, _
   ByVal cellName As String, _
   ByVal keyChar As Char _
)
Dim scope As CellScope
Dim sectionIndex As Integer
Dim cellIndex As Integer
Dim cellName As String
Dim keyChar As Char
 
Dim instance As New CellKeyPressEventArgs(scope, sectionIndex, cellIndex, cellName, keyChar)
[SuppressMessage(Category="Microsoft.Naming", 
   CheckId="CA1720:IdentifiersShouldNotContainTypeNames", 
   Scope="", 
   Target="", 
   MessageId="char", 
   Justification="")]
public CellKeyPressEventArgs( 
   CellScope scope,
   int sectionIndex,
   int cellIndex,
   string cellName,
   char keyChar
)

Parameters

scope
The scope of the cell. The values are CellScope.Row, CellScope.ColumnHeader, and CellScope.ColumnFooter.
sectionIndex
The index of the owner Section of the current cell.
cellIndex
The cell index in its parent Section.
cellName
The cell name.
keyChar
The ASCII character that corresponds to the key the user pressed.
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

CellKeyPressEventArgs Class
CellKeyPressEventArgs Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.