Spread for ASP.NET 7.0 Product Documentation
IsValid Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.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 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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