| GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class : TopRowChanged Event |
'Declaration Public Event TopRowChanged As EventHandler(Of ViewportEventArgs)
'Usage Dim instance As SheetView Dim handler As EventHandler(Of ViewportEventArgs) AddHandler instance.TopRowChanged, handler
public event EventHandler<ViewportEventArgs> TopRowChanged
The event handler receives an argument of type ViewportEventArgs containing data related to this event. The following ViewportEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| NewIndex | Gets the index of the new viewport index. |
| OldIndex | Gets the index of the previous viewport index. |
| ViewportIndex | Gets the index of the viewport in which the change occurred. |
Target Platforms: Windows Server 2012, Windows RT