Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ImageList Property, ImagePartClass Class

Defines the ImageList control containing the image.

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

Syntax

public ImageList ImageList { get; set; }
Public Property ImageList As ImageList

Value

The ImageList control containing the image or null/Nothing if an ImageList is not used.

The default value is null/Nothing.

Comments

Defines the ImageList control containing the image.

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

If the ImageList property is set to null/Nothing, the ImagePartClass.ImageIndex and ImagePartClass.HoverImageIndex properties are automatically cleared.

When the ImageList property is set, the ImagePartClass.Image property is automatically cleared.

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