Spread Windows Forms 11.0 Product Documentation
Rows Property (ColumnFooter)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ColumnFooter Class : Rows Property
Gets a Rows object for the rows in the column footer.
Syntax
'Declaration
 
Public ReadOnly Property Rows As Rows
'Usage
 
Dim instance As ColumnFooter
Dim value As Rows
 
value = instance.Rows
public Rows Rows {get;}
Example
This example sets the color for the row in the footer.
fpSpread1.Sheets[0].RowCount = 10;
fpSpread1.Sheets[0].ColumnCount = 15;
// Show the column footer.
fpSpread1.Sheets[0].ColumnFooter.Visible = true;
fpSpread1.Sheets[0].ColumnFooter.RowCount = 2;
fpSpread1.Sheets[0].ColumnFooter.DefaultStyle.ForeColor = Color.Purple;
fpSpread1.Sheets[0].ColumnFooter.Columns[12].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
fpSpread1.Sheets[0].ColumnFooter.Cells[0, 12].RowSpan = 2;
fpSpread1.Sheets[0].ColumnFooter.Cells[0, 0].Value = "test";
fpSpread1.Sheets[0].ColumnFooter.Rows[0].BackColor = Color.Red;
FpSpread1.Sheets(0).RowCount = 10
FpSpread1.Sheets(0).ColumnCount = 15
' Show the footer.
FpSpread1.Sheets(0).ColumnFooter.Visible = True
FpSpread1.Sheets(0).ColumnFooter.RowCount = 2
FpSpread1.Sheets(0).ColumnFooter.DefaultStyle.ForeColor = Color.Purple
FpSpread1.Sheets(0).ColumnFooter.Columns(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left
FpSpread1.Sheets(0).ColumnFooter.Cells(0, 12).RowSpan = 2
FpSpread1.Sheets(0).ColumnFooter.Cells(0, 0).Value = "test"
FpSpread1.Sheets(0).ColumnFooter.Rows(0).BackColor = Color.Red
See Also

Reference

ColumnFooter Class
ColumnFooter Members