Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> Public Property TopIndex As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[BrowsableAttribute(false)] public int TopIndex {get; set;} |
C++/CLI | |
---|---|
[BrowsableAttribute(false)] public: property int TopIndex { int get(); void set (int value); } |
Return 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family