Excel for WPF and Silverlight
GetCell Method (XLSheet)

C1.WPF.Excel Namespace > XLSheet Class : GetCell Method
Index of the row.
Index of the column.
Gets a reference to a cell at the specified coordinates or null if the cell doesn't exist.
Public Function GetCell( _
   ByVal rowIndex As System.Integer, _
   ByVal colIndex As System.Integer _
) As XLCell
public XLCell GetCell( 
   System.int rowIndex,
   System.int colIndex


Index of the row.
Index of the column.

Return Value

A reference to the XLCell object at the specified coordinates, or null if there is no cell at the specified position.

To populate new sheets, use the C1XLBook.Sheets indexer instead.

The indexer will automatically create new rows, columns, and cells as needed, and will never return null.

See Also


XLSheet Class
XLSheet Members