Hello,
I have multiple PropertyGrid with AutoGenerateProperties="True" in my application.
These PropertyGrid are used to display/input a large number of different objects. Some of their properties need customs editors and some uses the default editors. This is specified in the object class using custom attributes.
My problem is : I must change the way number (Double, Float) are displayed, converted.
For example :
90.5 -> d:90.5
90,5 -> d:90.5 (note the use of ','instead of '.')
How can i specify CultureInfo or FormatString on a DoubleUpDownEditor ? I don't want to use a custom editor for this.
Is there another way ?
Any input is welcome.
I have multiple PropertyGrid with AutoGenerateProperties="True" in my application.
These PropertyGrid are used to display/input a large number of different objects. Some of their properties need customs editors and some uses the default editors. This is specified in the object class using custom attributes.
My problem is : I must change the way number (Double, Float) are displayed, converted.
For example :
90.5 -> d:90.5
90,5 -> d:90.5 (note the use of ','instead of '.')
How can i specify CultureInfo or FormatString on a DoubleUpDownEditor ? I don't want to use a custom editor for this.
Is there another way ?
Any input is welcome.