Hi typod,
We have reviewed the reported scenario. TreeViewAdv does not natively support ImageListAdv for adding image list. It only supports the standard ImageList.
Since ImageListAdv has a known design-time issue is mentioned in this
update, you can add images to ImageListAdv and
convert ImageListAdv to ImageList using the
ToImageList() method. This will ensure DPI compatibility while allowing TreeViewAdv to use the images from ImageListAdv.
Code Snippet :
this.imageListAdv.Images.Add(Image.FromFile(imagePath)); this.imageList = this.imageListAdv.ToImageList(); this.treeViewAdv1.LeftImageList = this.imageList;
|
Output image for reference :
For further reference, please check the attached sample demonstrating this implementation.
Kindly let us know if you need any further assistance.
Attachment:
ImageListAdv_TreeViewAdv_5992579c.zip