Spread Windows Forms 12.0 Product Documentation
SetRowVisible Method

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SetRowVisible Method
Row index
Whether to display the row
Sets whether a row on this sheet is displayed.
Public Sub SetRowVisible( _
   ByVal row As Integer, _
   ByVal visible As Boolean _
Dim instance As SheetView
Dim row As Integer
Dim visible As Boolean
instance.SetRowVisible(row, visible)
public void SetRowVisible( 
   int row,
   bool visible


Row index
Whether to display the row
This example illustrates the use of this member by returning whether a row is visible.
DialogResult dlg; 
bool b;
dlg = MessageBox.Show("Do you want to hide the first row?", "Get/SetRowVisible", MessageBoxButtons.YesNo);
if (dlg == DialogResult.Yes)
    fpSpread1.ActiveSheet.SetRowVisible(0, false);
    b = fpSpread1.ActiveSheet.GetRowVisible(0);
    label1.Text = "Get/SetRowVisible for row 0 = " + b.ToString();
Dim dlg As DialogResult
Dim b As Boolean
dlg = MessageBox.Show("Do you want to hide the first row?", "Get/SetrowVisible", MessageBoxButtons.YesNo)
If dlg = DialogResult.Yes Then
    FpSpread1.ActiveSheet.SetRowVisible(0, False)
    b = FpSpread1.ActiveSheet.GetRowVisible(0)
    Label1.Text = "Get/SetRowVisible for row 0 = " & b.ToString()
End If
See Also


SheetView Class
SheetView Members

User-Task Documentation

Showing or Hiding a Row or Column