GrapeCity.Xaml.SpreadSheet.Data
IsValidRange(Worksheet,Boolean) Method


GrapeCity.Xaml.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 Boolean _
) As Boolean
'Usage
 
Dim instance As CellRange
Dim worksheet As Worksheet
Dim isSpan As Boolean
Dim value As Boolean
 
value = instance.IsValidRange(worksheet, isSpan)
public bool IsValidRange( 
   Worksheet worksheet,
   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