This project has moved and is read-only. For the latest updates, please go here.

PropertyGrid Property Attributes

Oct 10, 2012 at 9:39 PM

I 'm using XTK 1.7 (added the reference, got the t-shirt), and when I try to use an attribute (like "Category") on a property in my object, the parser pukes out an error about not being able to find Category or CategoryAttribute.  I saw in another thread that I need to use the Microsoft.Windows.Controls.Attributes namespace, but I can't find "Controls" in the namespace chain.

What am I missing?

Oct 11, 2012 at 12:40 PM

CategoryAttribute is in the following namespace and assembly:

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)


Oct 12, 2012 at 5:35 PM

Yep - found that out about an hour after I posted the question. :)