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

TopIndex Property (RasterImageList)






Gets or sets the index of the first visible item in the control.
Syntax
[BrowsableAttribute(false)]
public int TopIndex {get; set;}
'Declaration
 
<BrowsableAttribute(False)>
Public Property TopIndex As Integer
'Usage
 
Dim instance As RasterImageList
Dim value As Integer
 
instance.TopIndex = value
 
value = instance.TopIndex
[BrowsableAttribute(false)]
public int TopIndex {get; set;}
BrowsableAttribute()
 get_TopIndex();
set_TopIndex(value);
[BrowsableAttribute(false)]
public:
property int TopIndex {
   int get();
   void set (    int value);
}

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: 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.