FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > AlternatingRows Class : Parent Property |
'Declaration Public ReadOnly Property Parent As Object
'Usage Dim instance As AlternatingRows Dim value As Object value = instance.Parent
public object Parent {get;}
The parent object is one of the following: a ColumnHeader object, a RowHeader object, or a SheetView object.
To create alternating rows, first set the AlternatingRows.Count property to specify the number of alternating row patterns, then set the properties for each pattern.
This property is available at run time only.
Object sv; sv = fpSpread1.ActiveSheet.AlternatingRows[0].Parent[0].BackColor; textBox1.Text = sv.ToString();
Dim sv As Object sv = FpSpread1.ActiveSheet.AlternatingRows(0).Parent(0).BackColor TextBox1.Text = sv.ToString()
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8