update to v1.4.0

This commit is contained in:
NaBian committed 2018-10-27 20:01:47 +08:00
1 parent ca0c8ce7a0
commit 9bc1208484
125 files changed
+891 -483

No files matched your search

@@ -0,0 +1,22 @@
using System;
using System.Windows.Media.Imaging;
using GalaSoft.MvvmLight;
namespace HandyControlDemo.ViewModel
{
public class NoUserContentViewModel : ViewModelBase
{
public NoUserContentViewModel()
{
NugetDownloadCount = 11111;
}
private int _nugetDownloadCount;
public int NugetDownloadCount
{
get => _nugetDownloadCount;
set => Set(ref _nugetDownloadCount, value);
}
}
}
@@ -19,6 +19,7 @@ namespace HandyControlDemo.ViewModel
SimpleIoc.Default.Register<ImageBrowserDemoViewModel>();
SimpleIoc.Default.Register<ComboBoxDemoViewModel>();
SimpleIoc.Default.Register<WindowDemoViewModel>();
SimpleIoc.Default.Register<NoUserContentViewModel>();
}
public static ViewModelLocator Instance => new Lazy<ViewModelLocator>(() =>
@@ -36,6 +37,8 @@ namespace HandyControlDemo.ViewModel
public WindowDemoViewModel WindowDemo => ServiceLocator.Current.GetInstance<WindowDemoViewModel>();
public NoUserContentViewModel NoUserContent => ServiceLocator.Current.GetInstance<NoUserContentViewModel>();
#endregion
}
}