
[WPF] MVVM 패턴 적용해보기 (기초, 초급, 쉬움)
·
c#/WPF
ViewModels 폴더 생성 -> MainViewModel.cs 생성하기 - INotifyPropertychanged 를 상속받아야 함 : 값이 변경되면 전달하기 위해 - progressValue 값이 변한 것을 View에 나타낼것임 - INotifyPropertychanged 인터페이스 구현해주기 public event PropertyChangedEventHandler PropertyChanged; // This method is called by the Set accessor of each property. // The CallerMemberName attribute that is applied to the optional propertyName // parameter causes the prope..