GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class : RowHeightChanging Event |
'Declaration Public Event RowHeightChanging As System.EventHandler(Of RowHeightChangingEventArgs)
'Usage Dim instance As GcSpreadSheet Dim handler As System.EventHandler(Of RowHeightChangingEventArgs) AddHandler instance.RowHeightChanging, handler
public event System.EventHandler<RowHeightChangingEventArgs> RowHeightChanging
The event handler receives an argument of type RowHeightChangingEventArgs containing data related to this event. The following RowHeightChangingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Header | Gets whether the rows indexes are column header rows. |
RowList | Gets the list of rows whose heights are changing. |
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
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)