LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ScrollItems Method
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : ScrollItems Method



amount
Rows or columns to scroll.
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
)
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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also