![Avatar](https://secure.gravatar.com/avatar/924273732d600e9caae65ea065e40922.jpg?s=64&d=identicon&r=g)
It is possible to hide Misc category by mean of filter:
<grids:PropertyGrid.DataFilter>
<grids:PropertyModelStringFilter x:Name="stringFilter" Source="Category" Operation="NotEquals" Value="Misc" />
</grids:PropertyGrid.DataFilter>
but when using CategoryEditors like in your Sample app:
SampleBrowser\ProductSamples\GridsSamples\QuickStart\PropertyGridCategoryEditors
and adding in the class AppearanceViewModel a new property:
public string Another { get; set; }
so now the filter is not working, even nothing (no categories) is displayed.
I also tried with a filter predicate:
private bool CustomFilterPredicate(object model)
{
var propertyModel = model as IPropertyModel;
return (propertyModel != null) && (propertyModel.Category != propGrid.MiscCategoryName);
}
but it did not help. How can I hide the Misc (or another) category?