GrapeCity.Xaml.SpreadSheet.UI
RowHeightChanging Event (GcSpreadSheet)
Example 


Occurs when the row height is changing.
Syntax
'Declaration
 
Public Event RowHeightChanging As EventHandler(Of RowHeightChangingEventArgs)
'Usage
 
Dim instance As GcSpreadSheet
Dim handler As EventHandler(Of RowHeightChangingEventArgs)
 
AddHandler instance.RowHeightChanging, handler
public event EventHandler<RowHeightChangingEventArgs> RowHeightChanging
Event Data

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.

PropertyDescription
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.  
Example
This example uses the RowHeightChanging event.
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
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options