-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've created a custom UITypeEditor.
Can I possibly insert an attribute that also attaches a TypeConverter to my property from inside the UITypeEditor class?
I've tried the following, but nothing happens, no matter how I twist and turn it:
Attribute[] newAttributes = new Attribute[1];
newAttributes[0]…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a TypeConverter for a TopMostNode class. It extends ExpandableObjectConverter. The TopMostNode has two properties. Setting those in the property grid results in correctly serialized code to the designer. However, if I type in text for the property, I get a "Property value is not valid" error…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've created a custom UITypeEditor.
Can I possibly insert an attribute that also attaches a TypeConverter to my property from inside the UITypeEditor class?
I've tried the following, but nothing happens, no matter how I twist and turn it:
Attribute[] newAttributes = new Attribute[1];
newAttributes[0]…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a class that I've written a TypeConverter for. I want to keep the TypeConverter separate from the main solution, as it is only needed at design time and have an extensibility project now that contains the TypeConverter. Thus, when I deploy, I don't need to deploy the extensibility assembly…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is it normal practice to use a TypeConverter for serialization? There is a class that I do not own that has a "lossy" TypeConverter. When converting to a string, it formats its floating point data with "G4", so that when this type is displayed in a PropertyGrid, it's easily readable.
I would like…
>>> More