Spread WPF Documentation
IsValidRange(Worksheet,Boolean) Method


GrapeCity.Windows.SpreadSheet.Data Namespace > CellRange Class > IsValidRange Method : IsValidRange(Worksheet,Boolean) Method
The Worksheet object.
Whether to treat the cell range as a span or a selection.
Determines whether this cell range is valid in the specified worksheet and whether to treat it as a span.
Syntax
'Declaration
 
Public Overloads Function IsValidRange( _
   ByVal worksheet As Worksheet, _
   ByVal isSpan As System.Boolean _
) As System.Boolean
'Usage
 
Dim instance As CellRange
Dim worksheet As Worksheet
Dim isSpan As System.Boolean
Dim value As System.Boolean
 
value = instance.IsValidRange(worksheet, isSpan)
public System.bool IsValidRange( 
   Worksheet worksheet,
   System.bool isSpan
)

Parameters

worksheet
The Worksheet object.
isSpan
Whether to treat the cell range as a span or a selection.

Return Value

true if the cell range is a valid range in the specified sheet; otherwise, false.
See Also

Reference

CellRange Class
CellRange Members
Overload List