
Hello,
I need to have a Thickness and CornerRadius property in my PropertyGrid.
I have a class with several properties, two of them being a CornerRadius and a Thickness.
By default, the property grid is showing a string like "0,0,0,0". I change it to "1,1,1,1", it s not accepted. I don't want to make a special PropertyEditor for that, I thought I could use a type converter attribute on my properties, but it doesn't seem to do the trick.
Any idea?
Thanks :)
I need to have a Thickness and CornerRadius property in my PropertyGrid.
I have a class with several properties, two of them being a CornerRadius and a Thickness.
By default, the property grid is showing a string like "0,0,0,0". I change it to "1,1,1,1", it s not accepted. I don't want to make a special PropertyEditor for that, I thought I could use a type converter attribute on my properties, but it doesn't seem to do the trick.
Any idea?
Thanks :)