Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

HoverImageIndex Property, ImagePartClass Class

Defines the index of the image in the ImageList control used when the mouse cursor is located within the part.

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

Syntax

public int HoverImageIndex { get; set; }
Public Property HoverImageIndex 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 used when the mouse cursor is located within the part.

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

See Also ImagePartClass Class | Classes | SftTree/NET 2.0