←Select platform

TopIndex Property (RasterImageList)

Summary

Gets or sets the index of the first visible item in the control.

Syntax

C#
VB
C++
[BrowsableAttribute(false)] 
public int TopIndex {get; set;} 
<BrowsableAttribute(False)> 
Public Property TopIndex As Integer 
[BrowsableAttribute(false)] 
public: 
property int TopIndex { 
   int get(); 
   void set (    int ); 
} 

Property Value

The index of the first visible item in the control.

Remarks

Initially, the item with the index position of zero (0) is at the top of the RasterImageList control. If the RasterImageList control contents are scrolled, a different item can be at the top of the control. You can use this property to determine which item is visible at the top of the RasterImageList control. To position a specific item in the visible region of the control, set its index to the TopIndex property.

Example

For an example, refer to ScrollStyle

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize