Gets the parent object that contains this collection of alternating rows.
Syntax
| Visual Basic (Declaration) | |
|---|
Public ReadOnly Property Parent As Object |
| C# | |
|---|
public object Parent {get;} |
Property Value
Object containing the parent
Remarks
Example
This example returns the background color of the specified AlternatingRows parent.
| C# | Copy Code |
|---|
Object sv;
sv = fpSpread1.ActiveSheet.AlternatingRows[0].Parent[0].BackColor;
textBox1.Text = sv.ToString();
|
| Visual Basic | Copy Code |
|---|
Dim sv As Object
sv = FpSpread1.ActiveSheet.AlternatingRows(0).Parent(0).BackColor
TextBox1.Text = sv.ToString() |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also