Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Image Property, ImagePartClass Class

Defines the image.

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

Syntax

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

Value

The image or null/Nothing if there is no image.

The default value is null/Nothing.

Comments

Defines the image.

If the ImagePartClass.HoverImage property defines an image, the images defined using the Image and ImagePartClass.HoverImage properties must be the same size.

If the Image property is set to null/Nothing, the ImagePartClass.HoverImage property is automatically cleared.

When the Image property is set, the ImagePartClass.ImageList and ImagePartClass.ImageIndex properties are automatically cleared.

See Also ImagePartClass Class | Classes | SftTree/NET 2.0