Softelvdm.Controls Class Library for Windows Controls 1.0

HoverImageIndex Property, ImagePartClass Class

Softel vdm, Inc.

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

Syntax      ImagePartClass Class (Softelvdm.Controls)

VB   

Public Property HoverImageIndex As Integer

C#   

public int HoverImageIndex { get; set; }

C++   

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

Property Value

The index of the image in the ImageList control.

The default value is -1.

Comments

The HoverImageIndex property 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 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