GrapeCity.Xaml.SpreadSheet.Data
GetRowVisible(Int32,SheetArea) Method
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > GetRowVisible Method : GetRowVisible(Int32,SheetArea) Method
The row index.
The sheet area.
Gets whether the control displays the specified row in the specified sheet area.
Syntax
'Declaration
 
Public Overloads Function GetRowVisible( _
   ByVal row As Integer, _
   ByVal sheetArea As SheetArea _
) As Boolean
'Usage
 
Dim instance As Worksheet
Dim row As Integer
Dim sheetArea As SheetArea
Dim value As Boolean
 
value = instance.GetRowVisible(row, sheetArea)
public bool GetRowVisible( 
   int row,
   SheetArea sheetArea
)

Parameters

row
The row index.
sheetArea
The sheet area.

Return Value

Returns true if the row is visible in the sheet area; otherwise, false.
Example
This example uses the GetRowVisible method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowViewportCount().ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowVisible(20).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowVisible(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowViewportCount().ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowVisible(20).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowVisible(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
See Also

Reference

Worksheet Class
Worksheet Members
Overload List