private MyModel _selectedModel; public MyModel SelectedModel { get {return _selectedModel;} set {ValidateProperty(ref _selectedModel, value);} }
ValidateProperty
inotifypropertychanged
public event PropertyChangedEventHandler PropertyChanged;
private MyModel _selectedModel; public MyModel SelectedModel { get {return _selectedModel;} set { ValidateProperty(ref _selectedModel, value); if(value != null) CallService(value); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)