HeaderPane
Main
Hide

SftTree/NET 3.0 - Tree Control for Windows Forms

Share Link
Print

Image Property, ItemClass Class

Defines the item image displayed in this item.

Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

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

Value

The item image.

Comments

Defines the item image displayed in this item.

An item image is an optional image displayed in the hierarchy area.

Optional default images can be defined using the SftTree.ItemExpandableImage, SftTree.ItemExpandedImage and SftTree.ItemLeafImage properties.

When default item images are defined using the ItemExpandableImage, ItemExpandedImage, ItemLeafImage or when item images are defined using the Image property, the SftTree.ItemImageArea property is automatically updated to reserve sufficient space for any of the images used.

Sample images can be found in the directory C:\Program Files (x86)\Softelvdm\SftTree NET 3.0\Images. E.g., FolderClosed1_16.png, FolderOpen1_16.png and Leaf1_16.png contain suitable sample images for the SftTree.ItemExpandableImage, SftTree.ItemExpandedImage and SftTree.ItemLeafImage properties.

See Also ItemClass Class | Classes | SftTree/NET 3.0