FlexGrid for WinForms
Item(Int32,String) Property



Gets or sets the data in a grid cell.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal row As Integer, _
   ByVal colName As String _
) As Object
'Usage
 
Dim instance As C1FlexGridBase
Dim row As Integer
Dim colName As String
Dim value As Object
 
instance.Item(row, colName) = value
 
value = instance.Item(row, colName)
public object Item( 
   int row,
   string colName
) {get; set;}
public:
property Object^ Item {
   Object^ get(int row, String^ colName);
   void set (int row, String^ colName, Object^ value);
}

Parameters

row
colName
Remarks

This is one of the indexers you can use to get or set the data stored in grid cells.

You can index cells using the row and column indices or using the row index and column name.

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

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback