MainViewModel.cs.pp 946 B

12345678910111213141516171819202122232425262728293031323334
  1. using GalaSoft.MvvmLight;
  2. namespace $rootnamespace$.ViewModel
  3. {
  4. /// <summary>
  5. /// This class contains properties that the main View can data bind to.
  6. /// <para>
  7. /// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this ViewModel.
  8. /// </para>
  9. /// <para>
  10. /// You can also use Blend to data bind with the tool's support.
  11. /// </para>
  12. /// <para>
  13. /// See http://www.galasoft.ch/mvvm
  14. /// </para>
  15. /// </summary>
  16. public class MainViewModel : ViewModelBase
  17. {
  18. /// <summary>
  19. /// Initializes a new instance of the MainViewModel class.
  20. /// </summary>
  21. public MainViewModel()
  22. {
  23. ////if (IsInDesignMode)
  24. ////{
  25. //// // Code runs in Blend --> create design time data.
  26. ////}
  27. ////else
  28. ////{
  29. //// // Code runs "for real"
  30. ////}
  31. }
  32. }
  33. }