Spread Windows Forms 6.0 Product Documentation
RowViewportHeightChanged Event
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : RowViewportHeightChanged Event


Glossary Item Box

Occurs when a viewport row height has changed.

Syntax

Visual Basic (Declaration) 
Public Event RowViewportHeightChanged As RowViewportHeightChangedEventHandler
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim handler As RowViewportHeightChangedEventHandler
 
AddHandler instance.RowViewportHeightChanged, handler
C# 
public event RowViewportHeightChangedEventHandler RowViewportHeightChanged

Event Data

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

PropertyDescription
View Gets the view that contains the viewport row whose height has changed.
ViewportHeight Gets the height of the viewport row whose height has changed.
ViewportIndex Gets the index of the viewport row whose height has changed.

Remarks

This event is raised by the OnRowViewportHeight method when the height of a row of viewports has changed.

For more details on the individual event arguments, refer to RowViewportHeightChangedEventArgs members.

Example

This example raises the event.
C#Copy Code
private void fpSpread1_RowViewportHeightChanged(object sender, FarPoint.Win.Spread.RowViewportHeightChangedEventArgs e)
{
     ListBox1.Items.Add("RowViewportHeightChanged event fired!");
}
Visual BasicCopy Code
Private Sub FpSpread1_RowViewportHeightChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.RowViewportHeightChangedEventArgs)
Handles FpSpread1.RowViewportHeightChanged
     ListBox1.Items.Add("RowViewportHeightChanged event fired!")
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.