Spread Silverlight Documentation
RowHeightChanged Event (GcSpreadSheet)
Example 


Occurs when the row height has changed.
Syntax
'Declaration
 
Public Event RowHeightChanged As System.EventHandler(Of RowHeightChangedEventArgs)
'Usage
 
Dim instance As GcSpreadSheet
Dim handler As System.EventHandler(Of RowHeightChangedEventArgs)
 
AddHandler instance.RowHeightChanged, handler
public event System.EventHandler<RowHeightChangedEventArgs> RowHeightChanged
Event Data

The event handler receives an argument of type RowHeightChangedEventArgs containing data related to this event. The following RowHeightChangedEventArgs properties provide information specific to this event.

PropertyDescription
HeaderGets whether the rows indexes are column header rows.  
RowListGets the list of rows whose heights have changed.  
Example
This example uses the RowHeightChanged event.
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
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.