Softelvdm.Controls Class Library for Windows Controls 1.0

ImageIndex Property, ImagePartClass Class

Softel vdm, Inc.

Defines the index of the image in the ImageList control.

Syntax      ImagePartClass Class (Softelvdm.Controls)

VB   

Public Property ImageIndex As Integer

C#   

public int ImageIndex { get; set; }

C++   

public: property int ImageIndex {
        int get();
        void set(int value);
}

Property Value

The index of the image in the ImageList control.

The default value is -1.

Comments

The ImageIndex property defines the index of the image in the ImageList control.

The ImageList control can contain many images. The ImageIndex and HoverImageIndex properties are used to define the image used.

Images based on an ImageList can only be defined at run-time and are not serializable. The Angle property is ignored for images based on an ImageList.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com