-
Notifications
You must be signed in to change notification settings - Fork 0
Mahdikh75/MVVM-Helper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
// MVVM-Helper // BaseViewModel (Abstract Class / Method Main ---> SetPropertyChange()) public class MainViewModel : BaseViewModel { public int ProgressBarValue { get { return progress_bar; } set { progress_bar = value; SetPropertyChange(); } } } // RelayCmmand private ICommand close; public ICommand Close { get { if (close == null) close = new RelayCommand(MethodClose, CanMethodClose); return close; } } private void MethodClose(object obj) { (obj as Window).Close(); } private bool CanMethodClose(object obj) { return true; }
About
Tools WPF for Pattern MVVM (BaseViewModel & RelayCommand)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published