Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ItemExpandableImage Property, SftTree Class

Defines the default image used to display an expandable item's item image.

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

Syntax

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

Value

The image used to display an expandable 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 an expandable 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