Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
ScrollItems Method
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : ScrollItems Method




amount
Rows or columns to scroll.
Scrolls the content of the control.

Syntax

Visual Basic (Declaration) 
Public Sub ScrollItems( _
   ByVal amount As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim amount As Integer
 
instance.ScrollItems(amount)
C# 
public void ScrollItems( 
   int amount
)
Managed Extensions for C++ 
public: void ScrollItems( 
   int amount
) 
C++/CLI 
public:
void ScrollItems( 
   int amount
) 

Parameters

amount
Rows or columns to scroll.

Example

For an example, refer to ScrollStyle.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also