Category Placement

Aug 5, 2011 at 6:16 PM

I've noticed that when properties are assigned to multiple categories, uncategorized properties are placed into the first category instead of a Misc category which makes for a very confusing appearance.

Eric

Coordinator
Aug 6, 2011 at 11:07 AM

hi Eric,

the default Category name is "Properties" in this control. You can change the PropertyEditor's DefaultCategoryName to "Misc" if you prefer that.

Note that uncategorized properties will use the category of the previous property! I think this is what confused you.

I am adding a

UseDefaultCategoryNameForUncategorizedProperties

dependency property on the PropertyEditor now. Set this property to true to get the behaviour you ask for. The default value is false.

 

Also note that the Category attribute can contain both the label for the Tab and the Groupbox headers. Use a "|" as separator, e.g.

[Category("Tab title|Groupbox title")]