Spread Windows Forms 6.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 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

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