Project Description

A Silverlight Property Grid control, similar to the Visual Studio Property Grid Component. Providing support for custom type editors in addition to the in-built editors for the basic .NET Types, but does not support Nested Objects, Collections or Collection Editors.

For the latest release built against Silverlight 4, please see http://slg40.codeplex.com/

Release 2 - 8/26/2009

  • Built against the Silverlight 3.0 RTM. Download source here
  • Also added support for EditorBrowsable.Never Attribute Discussion Link
  • For the original alpha PropertyGrid built in Silverlight 2.0 RTM, please see SLG20.
  • From a visual perspective this PropertyGrid looks the same as SLG20, but the insides have been 70% rebuilt and optimised. Still uses the ContentControls, and the concepts are still the same, just a cleaner implementation.

Project review

I was looking for a VS Style Property Grid and came across the SLPropertyGrid from Denis Vuyka Original Article which was perfect, but I didn't like the standard SL Layout so this is a result of my UI modifications. It no longer uses DataTemplates but custom ContentControls.



This is the default appearance if no item is selected, similar to Visual Studio

SLPropertyGrid1.png


This is a combo box editor showing an enumerated type

SLPropertyGrid2.png


This is a DateTime editor with focus

SLPropertyGrid3.png

This is the same DateTime editor with the dropdown open...

SLPropertyGrid4.png


This is the Xaml for the test page

SLPropertyGrid5.png


This is the code behind for the test page...

SLPropertyGrid6.png


Last edited Jul 20, 2010 at 1:29 PM by hyspdrt, version 33