- amount
- Rows or columns to scroll.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImageList Dim amount As Integer instance.ScrollItems(amount) |
Parameters
- amount
- Rows or columns to scroll.
If the ScrollStyle value is set to RasterImageListScrollStyle.Vertical, then amount should be the number of rows to scroll up or down. A positive number will scroll the context of the control down, a negative number will scroll the context of the control up.
If the ScrollStyle value is set to RasterImageListScrollStyle.Horizontal, then amount should be the number of columns to scroll left or right. A positive number will scroll the context of the control to the right, a negative number will scroll the context of the control to the left.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7