PropertyChanged1 WPF INotifyPropertyChanged인터페이스의 PropertyChanged이벤트 사용하기 [전체소스] public class MainWindowViewModel : PropertyChangedBase { private string _strTest; public string StrTest { get => _strTest; set => Set(ref _strTest, value); } private int _intTest; public int IntTest { get => _intTest; set => Set(ref _intTest, value); } public MainWindowViewModel() { //이벤트 등록 this.PropertyChanged += MainWindowViewModel_PropertyChanged; } private void MainWindowViewModel_Pr.. 2021. 8. 24. 이전 1 다음