LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

ScrollItems Method (RasterImageList)






Rows or columns to scroll.
Scrolls the content of the control.
Syntax
public void ScrollItems( 
   int amount
)
'Declaration
 
Public Sub ScrollItems( _
   ByVal amount As Integer _
) 
'Usage
 
Dim instance As RasterImageList
Dim amount As Integer
 
instance.ScrollItems(amount)
public void ScrollItems( 
   int amount
)
 function Leadtools.WinForms.RasterImageList.ScrollItems( 
   amount 
)
public:
void ScrollItems( 
   int amount
) 

Parameters

amount
Rows or columns to scroll.
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.

Example
For an example, refer to ScrollStyle.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageList Class
RasterImageList Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.