My Blog Links
Site Links
Currently Reading
  • This page is powered by Blogger. Isn't yours?
  • Weblog Commenting and Trackback by HaloScan.com
  • 2RSS.com :: RSS directory
  • Listed on BlogShares
  • Blog Directory, Find A Blog, Submit A Blog, Search For The Best Blogs

Wednesday, September 22, 2004

.NET: Using the PropertyGrid In Your App 

Here's a cool project in C# that shows how to use the property grid in your own WinForms application. This is cool because it allows you to change properties on an object in a standard way, including changing the appearance of controls at runtime.

However, you can use this for other objects too, as long as they expose properties and use the appropriate attributes to hide and show them in the property grid, like the Browsable attribute. Also, it uses custom type editors, so that you can use appropriate editors for certain types of properties, like Color. It behaves very similar to the property browser in Visual Studio.

Comments: Post a Comment