Spread Windows Forms 11.0 Product Documentation
Header Property (RowHeightChangedEventArgs)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RowHeightChangedEventArgs Class : Header Property
Gets whether the row indexes are column header rows.
Syntax
'Declaration
 
Public ReadOnly Property Header As Boolean
'Usage
 
Dim instance As RowHeightChangedEventArgs
Dim value As Boolean
 
value = instance.Header
public bool Header {get;}

Property Value

Boolean: true to include the header; false otherwise
Example
This example uses the Header property.
fpSpread1.Sheets[0].ColumnHeader.RowCount = 2;
fpSpread1.Sheets[0].ColumnHeader.Rows[0].Resizable = true;
fpSpread1.Sheets[0].ColumnHeader.Rows[1].Resizable = true;

private void fpSpread1_RowHeightChanged(object sender, FarPoint.Win.Spread.RowHeightChangedEventArgs e)
{
    listBox1.Items.Add(e.Header);
    listBox1.Items.Add(e.Footer);
}
fpSpread1.Sheets(0).ColumnHeader.RowCount = 2
fpSpread1.Sheets(0).ColumnHeader.Rows(0).Resizable = True
fpSpread1.Sheets(0).ColumnHeader.Rows(1).Resizable = True

Private Sub fpSpread1_RowHeightChanged(sender As Object, e As FarPoint.Win.Spread.RowHeightChangedEventArgs) Handles fpSpread1.RowHeightChanged
   ListBox1.Items.Add(e.Header)
   ListBox1.Items.Add(e.Footer)
End Sub
See Also

Reference

RowHeightChangedEventArgs Class
RowHeightChangedEventArgs Members