This is going to be a hack, but it can be done.
First, you need to override ReportPropertyChanging
and ReportPropertyChanged
. Then check the parameter for the name of your property... in this case "Description". If it occurs, call ReportPropertyChanging
or ReportPropertyChanged
with the derived property name, in this case "ShortDescription". For any other value of the parameter, call the base version of ReportPropertyChanging/Changed
.
Edit: For example:
protected override void OnPropertyChanging(string property)
{
if (property == "Description")
{
base.OnPropertyChanging("ShortDescription");
}
base.OnPropertyChanging(property);
}
protected override void OnPropertyChanged(string property)
{
if (property == "Description")
{
base.OnPropertyChanged("ShortDescription");
}
base.OnPropertyChanged(property);
}