Windows Develop Bookmark and Share   
 index > Windows Forms General > Changing format on PropertyGrid
 

Changing format on PropertyGrid

Hello,

I have a class with a lot of properties of type double. They currently have 10+ decimals. I would like to change the view in the propertygrid so they're only returned with 3 decimals. I was wondering if I could do anything so this would be applied on the property grid instead I'd have to use Math.Round on every returning value in the properties in he class.

Thanks in advance.

Morten B. Post  Wednesday, April 11, 2007 12:04 PM
Zhi-Xin Ye  Monday, April 16, 2007 7:51 AM
Zhi-Xin Ye  Monday, April 16, 2007 7:51 AM

You can use google to search for other answers

Custom Search

More Threads

• Is it a normal behaviour?
• How to autoresize two controls with a distance between the controls allways staying the same?
• Transparent Label in vb 2008
• TableLayoutpanel user resizable rows
• User Resize of TableLayoutPanel
• Bug in PropertyGrid's Collection Editor
• Update
• Dual threaded image creation...Reposted to be more readbale??...
• Home page redirecting error
• How to enable word wrap (or setup margin) while printing a text file