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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

RowHeightChangedEventArgs Class
RowHeightChangedEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.