RotateFlipType and PropertyGrid - Bug ???

B

BeerBoy

I've writte a custom control which has a property of type RotateFlipType (
an enum from System.Drawing). Anyway, in design time when I look at the
property grid for an instance of the control the dropdown list showing
possible values has duplicate entries and some missing ones !!! Does anyone
know if this is a bug ?? All my other properties including other enums seem
to work fine.

Thanks

Jim
 
B

BeerBoy

Actually, I now understand how it's happening. The RotateFlipType is an enum
which has duplicate values but different names e.g. Rotate270FlipNone is the
same as Rotate90FlipXY. However, the grid control only shows one of the
names so Rotate270FlipNone appears twice. In my mind this is a bug
nonetheless.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top