hi dear telerik team
assume i have a property like the below:
[RefreshProperties(RefreshProperties.All)]
public
MyType MyProperty
{
get
{
return
_myProperty;
}
set
{
_myProperty=value;
RaisePropertyChanged("MyProperty ");
}
}
public
bool OtherProperty2
{
get
{
return
_otherProperty2;
}
set
{
_otherProperty2=value;
if(value)
{
MyProperty = new MyType();
}
else
{
MyProperty = null;
}
RaisePropertyChanged("OtherProperty2");
}
}
well MyProperty defaults to null so what i see at the begining in the property grid is:
MyProperty
OtherProperty2 false;
OtherProperty3
OtherProperty4
then when i set OtherProperty2 to true the property grid must look like this:
+ MyProperty
OtherProperty2 true;
OtherProperty3
OtherProperty4
and vice versa. but this doesnt happen! and for this to happen i am forced to do something to manualy refresh the property grid like switching between the A-Z view and GroupView
note that MyProperty has browsable properties like Name and LastName in it.
thank you very much in advance for your help