Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ImageIndex Property, ImagePartClass Class

Defines the index of the image in the ImageList control.

Class: ImagePartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public int ImageIndex { get; set; }
Public Property ImageIndex As Integer

Value

The index of the image in the ImageList control.

The default value is -1.

Comments

Defines the index of the image in the ImageList control.

The ImageList control can contain many images. The ImagePartClass.ImageIndex and ImagePartClass.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 GenericPartClass.Angle property is ignored for images based on an ImageList.

See Also ImagePartClass Class | Classes | SftTree/NET 2.0