FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : SetRowVisible メソッド |
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