Spread WPF Documentation
SetRowVisible Method
Example 


The row index.
The sheet area.
Set to true to display the specified row.
Sets whether the control displays the specified row in the specified sheet area.
Syntax
'Declaration
 
Public Sub SetRowVisible( _
   ByVal row As System.Integer, _
   ByVal sheetArea As SheetArea, _
   ByVal value As System.Boolean _
) 
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim sheetArea As SheetArea
Dim value As System.Boolean
 
instance.SetRowVisible(row, sheetArea, value)
public void SetRowVisible( 
   System.int row,
   SheetArea sheetArea,
   System.bool value
)

Parameters

row
The row index.
sheetArea
The sheet area.
value
Set to true to display the specified row.
Example
This example uses the SetRowVisible method.
gcSpreadSheet1.Sheets[0].SetActiveViewport(0, 0);
gcSpreadSheet1.Sheets[0].SetColumnVisible(1, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, false);
gcSpreadSheet1.Sheets[0].SetRowVisible(3, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, false);
GcSpreadSheet1.Sheets(0).SetActiveViewport(0, 0)
GcSpreadSheet1.Sheets(0).SetColumnVisible(1, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, False)
GcSpreadSheet1.Sheets(0).SetRowVisible(3, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, False)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.