What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it?

Q

What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it?

✍: Guest

A

No, Icon lives in System.Drawing namespace. It’s not a Bitmap by default, and is treated separately by .NET. However, you can use ToBitmap method to get a valid Bitmap object from a valid Icon object.

2013-11-22, 1538👍, 0💬