Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: OnPropertyChanged not fired when SetProperty is called

$
0
0
I can't explain what you are describing just based on your code. But bottom line the recommended pattern when you have co-dependent properties is to use OnPropertyChanged to raise the change notification for the other property when you set it from the dependent one. So if A and B are properties that set each other, use SetProperty for the one being set, set the other, then call OnPropertyChanged for the other as the normal pattern.

Viewing all articles
Browse latest Browse all 1878

Trending Articles