Spread Windows Forms 7.0 Product Documentation
IsValid Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cell Class : IsValid Method


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

Glossary Item Box

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

Visual Basic (Declaration) 
Protected Function IsValid( _
   ByVal viewrow As Integer, _
   ByVal viewcolumn As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Cell
Dim viewrow As Integer
Dim viewcolumn As Integer
Dim value As Boolean
 
value = instance.IsValid(viewrow, viewcolumn)
C# 
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; false otherwise

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.