GrapeCity.Xaml.SpreadSheet.UI Namespace > GcSpreadSheet Class : RowHeightChanged Event |
'Declaration Public Event RowHeightChanged As EventHandler(Of RowHeightChangedEventArgs)
'Usage Dim instance As GcSpreadSheet Dim handler As EventHandler(Of RowHeightChangedEventArgs) AddHandler instance.RowHeightChanged, handler
public event EventHandler<RowHeightChangedEventArgs> RowHeightChanged
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.
Property | Description |
---|---|
Header | Gets whether the rows indexes are column header rows. |
RowList | Gets the list of rows whose heights have changed. |
private void gcSpreadSheet1_RowHeightChanged(object sender, GrapeCity.Xaml.SpreadSheet.UI.RowHeightChangedEventArgs e) { listBox1.Items.Add(e.Header.ToString()); listBox1.Items.Add(e.RowList[0].ToString()); } private void gcSpreadSheet1_RowHeightChanging(object sender, GrapeCity.Xaml.SpreadSheet.UI.RowHeightChangingEventArgs e) { listBox1.Items.Add(e.Header.ToString()); listBox1.Items.Add(e.RowList[0].ToString()); }
Private Sub GcSpreadSheet1_RowHeightChanged(sender As Object, e As GrapeCity.Xaml.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 Object, e As GrapeCity.Xaml.SpreadSheet.UI.RowHeightChangingEventArgs) Handles GcSpreadSheet1.RowHeightChanging ListBox1.Items.Add(e.Header.ToString()) ListBox1.Items.Add(e.RowList(0).ToString()) End Sub
Target Platforms: Windows Server 2012, Windows RT