so I encountered this error with ImageList where it throws this error whenever I try to add an Image to ImageList.Images collection through the designer’s “Images Collection Browser”:
The documentation only shows adding Images programatically: https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.imagelist?view=windowsdesktop-8.0
There was also a thread on Telerik’s website, someone said the images cannot be added directly from designer, is that true?
Code I’m having problems with:
public ImageList imageList1 { get; set; } = new ImageList();
I’m looking for a solution where you could add Images to some kind of Image list from the designer.
I have already tried ImageCollection, List and List.
They all throw errors when trying to set them in designer.
I expected ImageList to work because of how good it sounded. You could have a list of Images. Thought it could be edited from designer with ease, but official docs don’t have any examples of doing it through designer, just programatically.