Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> Public Property TopIndex As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImageList Dim value As Integer instance.TopIndex = value value = instance.TopIndex |
C# | |
---|---|
[BrowsableAttribute(false)] public int TopIndex {get; set;} |
C++/CLI | |
---|---|
[BrowsableAttribute(false)] public: property int TopIndex { int get(); void set ( int value); } |
Property Value
The index of the first visible item in the control.For an example, refer to ScrollStyle
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7