![Avatar](https://secure.gravatar.com/avatar/42c6b372c43c39ce77ee25f4f37d0140.jpg?s=64&d=identicon&r=g)
Hi !
I want to expand all of my properties but one. I tried this DataFactory code according to your sample but it doesn't work :
protected override IPropertyModel CreatePropertyModel(object target, PropertyDescriptor propertyDescriptor, IDataFactoryRequest request)
{
var propertyModel = base.CreatePropertyModel(target, propertyDescriptor, request);
propertyModel.IsExpanded = propertyDescriptor.PropertyType.Name != "PropertyPatcher";
return propertyModel;
}
It correctly set isExpanded to true for everything but "PropertyPatcher", I checked in debug mode, but nothing is expanded anyway.
I also tried to set the ArePropertiesAutoExpanded to true in addition with that code but everything is correclty expanded even the one I don't want.
Any idea how I can achieve this ?