I've got a PropertyGrid
displaying an object, one of whose fields is a System.Drawing.Color
. This makes the field on the PG automatically display a color, and if you click to edit it, you get a nice drop-down, showing custom colors, system colors, etc. Problem is, this drop-down takes about 10-30 seconds to draw - the custom colors one is especially bad. I've tried setting double-buffering on the PG to hide the slowness, but that just makes it pause while it draws before displaying, no improvement in speed. Is there any reason why this particular feature should be so slow when everything else is running perfectly fine?
I am running this program alongside another which it communicates with, and that program uses a 3D rendering engine which is admittedly kind of processor-heavy, but it's not so bad most of the time. The only thing that's unbearably slow right now is that color drop-down. Can't imagine what could be causing it.