Setting ImageListAdv as the imagelist of TreeViewAdv

Hi,

I might be doing something silly, but is there a reason I can't set an ImageListAdv as the imagelist for a TreeViewAdv control.  I only seem to be able to select the standard image list control.

I am trying to sort out DPI scaling in my simple app and wanted to use ImageLIstAdv to host different icons based on the DPI of the system but for some reason it doesn't appear in the drop down list.



4 Replies

RS Raghavendra Sudhakar Syncfusion Team March 31, 2025 10:14 AM UTC

Hi Typod,


Thanks for reaching out to us. Can you please confirm is this the issue you are facing?


Image_1202_1743415891486



TY typod March 31, 2025 10:33 AM UTC

Thanks for the response.  Here is what I am seeing, but funnily enough I am also getting the error in the screenshot you mentioned.  In the drop down list I would expect to see ImageListAdv alongside the standard imagelist.


Screenshot 2025-03-31 112810.JPG

Screenshot 2025-03-31 113029.JPG



SS Sekar Sivalingam Syncfusion Team April 2, 2025 03:57 AM UTC

Hi Typod,

Thanks for confirming the issue and for sharing additional details.

We recommend following the below forum thread for updates regarding the issue where ImageListAdv doesn't appear in the dropdown list in TreeViewAdv:

Forum: Setting ImageListAdv as the imagelist of TreeViewAdv ~ Split from 196516 | WinForms Forums | Syncfusion®

Additionally, we would like to inform you that the issue you faced while adding images to the ImageCollection of ImageListAdv is a known issue.

We have confirmed that this is a known problem, where the following error appears: "Constructor on type 'System.Drawing.Image' not found."

This issue has already been reported to Microsoft through the MSDN forum, and we are currently awaiting further updates or a solution. We are closely monitoring the status of this query and will keep you informed as soon as we receive any updates.

MSDN Query Link: Follow-up on 'Constructor on type 'System.Drawing.Image' not found' crash in .NET Core – Provided Sample Not Runnable · Issue #12435 · dotnet/winforms

Let us know if you need any further assistance.

Regards,
Sekar Sivalingam



KA Karthick Arjunan Syncfusion Team December 17, 2025 11:05 AM UTC

Hi Typod,

We are glad to announce that our Essential Studio® 2025 Volume 4 Main Release v32.1.19 is rolled out in which we have included the fix for the reported issue "Constructor on type 'System.Drawing.Image' not foundand is available for download under the following link.

Essential Studio® 2025 Volume ... | Announcements Forums | Syncfusion®

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you require any further assistance.

Regards,
Karthick Arjunan


Loader.
Up arrow icon