No - it is not like the one you mentioned. The one that I am talking about is related to a case like the one mentioned below
Class Car
{
[Browsable(true)]
[RefreshProperties(RefreshAll)]
bool Trigger {get; set; }
[DynamicBrowsable("Trigger")]
string Prop1 {get; set; }
[DynamicBrowsable("Trigger")]
string Prop2 {get; set; }
}
Basically, DynamicBrowsable attribute is something that I created which depends on the Trigger property's value. If Trigger value is true - Prop1 and Prop2 will be displayed.
Bottomline is, if a property is marked with RefreshProperties attribute - we need to re-evaluate the properties that gets displayed in the property grid. This happens in the Microsoft released property grid for win forms, but this does not work for the WPF version here.
Class Car
{
[Browsable(true)]
[RefreshProperties(RefreshAll)]
bool Trigger {get; set; }
[DynamicBrowsable("Trigger")]
string Prop1 {get; set; }
[DynamicBrowsable("Trigger")]
string Prop2 {get; set; }
}
Basically, DynamicBrowsable attribute is something that I created which depends on the Trigger property's value. If Trigger value is true - Prop1 and Prop2 will be displayed.
Bottomline is, if a property is marked with RefreshProperties attribute - we need to re-evaluate the properties that gets displayed in the property grid. This happens in the Microsoft released property grid for win forms, but this does not work for the WPF version here.