Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.UI Namespace / RowHeightChangingEventArgs Class / Header Property
Example


In This Topic
    Header Property (RowHeightChangingEventArgs)
    In This Topic
    Gets whether the rows indexes are column header rows.
    Syntax
    'Declaration
     
    Public ReadOnly Property Header As Boolean
    'Usage
     
    Dim instance As RowHeightChangingEventArgs
    Dim value As Boolean
     
    value = instance.Header
    public bool Header {get;}

    Property Value

    A bool value that indicates whether the rows indexes are column header rows.
    Example
    This example uses the Header property.
    private void gcSpreadSheet1_RowHeightChanged(object sender, GrapeCity.Windows.SpreadSheet.UI.RowHeightChangedEventArgs e)
            {
                listBox1.Items.Add(e.Header.ToString());
                listBox1.Items.Add(e.RowList[0].ToString());
            }
    
    private void gcSpreadSheet1_RowHeightChanging(object sender, GrapeCity.Windows.SpreadSheet.UI.RowHeightChangingEventArgs e)
            {
                listBox1.Items.Add(e.Header.ToString());
                listBox1.Items.Add(e.RowList[0].ToString());
            }
    Private Sub GcSpreadSheet1_RowHeightChanged(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.RowHeightChangedEventArgs) Handles GcSpreadSheet1.RowHeightChanged
            ListBox1.Items.Add(e.Header.ToString())
            ListBox1.Items.Add(e.RowList(0).ToString())
        End Sub
    
    Private Sub GcSpreadSheet1_RowHeightChanging(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.RowHeightChangingEventArgs) Handles GcSpreadSheet1.RowHeightChanging
            ListBox1.Items.Add(e.Header.ToString())
            ListBox1.Items.Add(e.RowList(0).ToString())
        End Sub
    See Also