Me.UltraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.AboveRow)
You can scroll WinGrid™’s data one row at a time using the
PerformAction
method. In order to scroll up or down in WinGrid one row at a time, pass the AboveRow
or BelowRow
values of the
UltraGridAction
enumeration to the PerformAction
method.
Place the following example code within an appropriate event handler, such as a button’s Click event to scroll upwards.
In Visual Basic:
Me.UltraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.AboveRow)
In C#:
this.ultraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.AboveRow);