Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ItemLeafImage Property, SftTree Class

Defines the default image used to display a leaf item's item image.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

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

Value

The image used to display a leaf item's item image or null/Nothing if there is no default image.

The default value is null/Nothing.

Comments

Defines the default image used to display a leaf item's item image.

The item image is an optional image displayed in the hierarchy area of the hierarchy column. It is only shown if a hierarchy column has been defined (ColumnClass.ShowHierarchy).

Individual items can override the default image using the ItemClass.Image property.

Sample images can be found in the directory C:\Program Files\Softelvdm\SftTree NET 2.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 SftTree Class | Classes | SftTree/NET 2.0