FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > AlternatingRows クラス : Item プロパティ |
'Declaration Public ReadOnly Default Property Item( _ ByVal index As Integer _ ) As AlternatingRow
'使用法 Dim instance As AlternatingRows Dim index As Integer Dim value As AlternatingRow value = instance.Item(index)
public AlternatingRow this[ int index ]; {get;}
例外 | 説明 |
---|---|
System.IndexOutOfRangeException | 指定された交互行のインデックスが0未満か、交互行の数以上です。 |
ColorDialog cd = new ColorDialog(); if (cd.ShowDialog() == DialogResult.OK) { fpSpread1.ActiveSheet.AlternatingRows[0].BackColor = cd.Color; }
Dim cd As New ColorDialog() If cd.ShowDialog = DialogResult.OK Then FpSpread1.ActiveSheet.AlternatingRows.Item(0).BackColor = cd.Color End If