www.Chart4.NET | Samples

ImageList of photos corresponding to each node, mapped by node's ImageIndex property. See Remarks.

Namespace:  UnifoChart.Hierarchy
Assembly:  UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)

Syntax

C#
public ImageList Photo_ImageList4Nodes { get; set; }
Visual Basic (Declaration)
Public Property Photo_ImageList4Nodes As ImageList
Visual Basic (Usage)
Dim instance As HierarchySettings
Dim value As ImageList

value = instance.Photo_ImageList4Nodes

instance.Photo_ImageList4Nodes = value
Visual C++
public:
property ImageList^ Photo_ImageList4Nodes {
	ImageList^ get ();
	void set (ImageList^ value);
}
J#
/** @property */
public ImageList get_Photo_ImageList4Nodes()
/** @property */
public  void set_Photo_ImageList4Nodes(ImageList value)
JScript
public function get Photo_ImageList4Nodes () : ImageList
public function set Photo_ImageList4Nodes (value : ImageList)
JavaScript
function get_Photo_ImageList4Nodes();
function set_Photo_ImageList4Nodes(value);

Field Value

System.Windows.Forms.ImageList Object

Remarks

  • Priority is for Photo_ImageList4Nodes, Photo_ImageList4Levels and least for Photo_Image4Nodes.
  • If data is imported from a datasource (like XML or database) other than TreeView/TreeNodeCollection, then specify the index/name in 'photo' attribute.
  • To get clear photos in nodes, set apropriate ImagSize (preferably 48x48) and ColorDepth (preferably Depth32Bit) properties of ImageList (before adding images to it).

See Also