Hello,
I've got a weird problem with my code. I've created an UITypeEditor:
and use it properly:Code:public class ColorPickerEditor : UITypeEditor {...}
The Editor for the Vector4 works perfectly. The problem is for the other one. If I put a breakpoint in my class, my ColorPickerEditor is never called(instanciated) for the System.Drawing.Color. It seems that the default ColorConverter is used instead of my override.Code:[Editor(typeof(TypeEditor.ColorPickerEditor), typeof(System.Drawing.Design.UITypeEditor))] public System.Drawing.Color TestColorDrawing { get; set; } [Editor(typeof(TypeEditor.ColorPickerEditor), typeof(System.Drawing.Design.UITypeEditor))] public Vector4 TestColorV4D { get; set; }
Anyone has a workaround or ideas?




Reply With Quote