ICreate.Controls.Bars Send comments on this topic.
Index Property
See Also 
ICreate.Controls.Bars Namespace > BarItem Class : Index Property






Gets or sets the index of the BarItem in the collection of BarItems.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Index As Integer
Visual Basic (Usage)Copy Code
Dim instance As BarItem
Dim value As Integer
 
instance.Index = value
 
value = instance.Index
C# 
public virtual int Index {get; set;}
Delphi 
public read-write property Index: Integer; virtual; 
JScript 
public function get,set Index : int
Managed Extensions for C++ 
public: __property virtual int get_Index();
public: __property virtual void set_Index( 
   int value
);
C++/CLI 
public:
virtual property int Index {
   int get();
   void set (int value);
}

Return Value

A System.Int32 value, this property determines the position of the BarItem in the collection of BarItems. A BarItem with a smaller Index will appear before a BarItem with a larger Index. The BarItem with Index 0 is the first item in the collection.

Remarks

This property is not usually set by the programmer. It is generally set by the designers and collections.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also