Spread WPF Documentation
DeltaViewportHeight Property (RowViewportHeightChangedEventArgs)
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > RowViewportHeightChangedEventArgs Class : DeltaViewportHeight Property
Gets the changed value of the viewport row height.
Syntax
'Declaration
 
Public ReadOnly Property DeltaViewportHeight As System.Double
'Usage
 
Dim instance As RowViewportHeightChangedEventArgs
Dim value As System.Double
 
value = instance.DeltaViewportHeight
public System.double DeltaViewportHeight {get;}

Property Value

The changed value of the viewport row height.
Example
This example uses the DeltaViewportHeight property.
gcSpreadSheet1.AddRowViewport(0, 80);

private void gcSpreadSheet1_RowViewportHeightChanged(object sender, GrapeCity.Windows.SpreadSheet.UI.RowViewportHeightChangedEventArgs e)
        {
            listBox1.Items.Add(e.DeltaViewportHeight.ToString());
            listBox1.Items.Add(e.ViewportIndex.ToString());
        }

private void gcSpreadSheet1_RowViewportHeightChanging(object sender, GrapeCity.Windows.SpreadSheet.UI.RowViewportHeightChangingEventArgs e)
        {
            listBox1.Items.Add(e.DeltaViewportHeight.ToString());
            listBox1.Items.Add(e.ViewportIndex.ToString());
        }
GcSpreadSheet1.AddRowViewport(0, 80)
  
Private Sub GcSpreadSheet1_RowViewportHeightChanged(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.RowViewportHeightChangedEventArgs) Handles GcSpreadSheet1.RowViewportHeightChanged
        ListBox1.Items.Add(e.DeltaViewportHeight.ToString())
        ListBox1.Items.Add(e.ViewportIndex.ToString())
    End Sub

Private Sub GcSpreadSheet1_RowViewportHeightChanging(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.RowViewportHeightChangingEventArgs) Handles GcSpreadSheet1.RowViewportHeightChanging
        ListBox1.Items.Add(e.DeltaViewportHeight.ToString())
        ListBox1.Items.Add(e.ViewportIndex.ToString())
    End Sub
See Also

Reference

RowViewportHeightChangedEventArgs Class
RowViewportHeightChangedEventArgs Members