Spread Windows Forms 11.0 Product Documentation
IsValid Method (Cell)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cell Class : IsValid Method
Row index (in the view)
Column index (in the view)
Checks whether the specified view row and column indexes are valid coordinates in the sheet's data model, and if so sets the row and column fields to the model row and column indexes.
Syntax
'Declaration
 
Protected Function IsValid( _
   ByVal viewrow As Integer, _
   ByVal viewcolumn As Integer _
) As Boolean
'Usage
 
Dim instance As Cell
Dim viewrow As Integer
Dim viewcolumn As Integer
Dim value As Boolean
 
value = instance.IsValid(viewrow, viewcolumn)
protected bool IsValid( 
   int viewrow,
   int viewcolumn
)

Parameters

viewrow
Row index (in the view)
viewcolumn
Column index (in the view)

Return Value

True if view row and view column are defined in the data model for the sheet; otherwise, false
See Also

Reference

Cell Class
Cell Members