←Select platform

ScrollItems Method

Summary

Scrolls the content of the control.

Syntax

C#
VB
C++
public void ScrollItems( 
   int amount 
) 
  
Public Sub ScrollItems( _ 
   ByVal amount As Integer _ 
)  
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly