Text="{Binding CurrentCompany.MainAddress.Street, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
How to raise a property change on MainAddress when Street changes?
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
BernardPosted Apr 6, 2019, 3:01 PM
[Ignore]
public Address MainAddress
{
get { return _MainAddress; }
this._MainAddress.PropertyChanged -= _MainAddress_PropertyChanged;
this.SetProperty(ref this._MainAddress, value);
this._MainAddress.PropertyChanged += _MainAddress_PropertyChanged;
}
}
{
RaisePropertyChanged("MainAddress");
}
Rajkiran SwainPosted Apr 6, 2019, 2:23 PM