both of which have a function that returns a class - and this is the icon that will be attached.
I have a ArrayCollection which contains labels and colors. I currently have the labels added to a list control, and I would like to have beside each label a box filled with the color from the ArrayCollection.
However the above examples would lead me to believe that I would have to dynamically create a bitmap based on the color value. This seems like a rather ineffecient way of doing it.
Can anyone suggest an easier more effecient approach?