Spread Windows Forms 10.0 Product Documentation
GetRowVisible Method
Example 


Gets whether a row on this sheet is displayed.
Overload List
OverloadDescription
GetRowVisibleGets whether a row on this sheet is displayed.  
Example
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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Showing or Hiding a Row or Column

 

 


Copyright © GrapeCity, inc. All rights reserved.