use sdk project
This commit is contained in:
1 parent
be21771a17
commit
5861666e1b
36 files changed
+759
-2228
No files matched your search
@@ -11,7 +11,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public int Count
|
||||
{
|
||||
get => _count;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(Count), ref _count, value);
|
||||
#else
|
||||
set => Set(ref _count, value);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Windows;
|
||||
using GalaSoft.MvvmLight;
|
||||
using GalaSoft.MvvmLight.Command;
|
||||
#if !netle40
|
||||
#if !NET40
|
||||
using System.Threading.Tasks;
|
||||
#endif
|
||||
using HandyControl.Controls;
|
||||
@@ -20,7 +20,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public string DialogResult
|
||||
{
|
||||
get => _dialogResult;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(DialogResult), ref _dialogResult, value);
|
||||
#else
|
||||
set => Set(ref _dialogResult, value);
|
||||
@@ -42,7 +42,7 @@ namespace HandyControlDemo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
#if netle40
|
||||
#if NET40
|
||||
public RelayCommand<bool> ShowInteractiveDialogCmd => new Lazy<RelayCommand<bool>>(() =>
|
||||
new RelayCommand<bool>(ShowInteractiveDialog)).Value;
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public ShowAnimation ShowAnimation
|
||||
{
|
||||
get => _showAnimation;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(ShowAnimation) ,ref _showAnimation, value);
|
||||
#else
|
||||
set => Set(ref _showAnimation, value);
|
||||
@@ -29,7 +29,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public bool StaysOpen
|
||||
{
|
||||
get => _staysOpen;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(StaysOpen) ,ref _staysOpen, value);
|
||||
#else
|
||||
set => Set(ref _staysOpen, value);
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public string Content
|
||||
{
|
||||
get => _content;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(Content), ref _content, value);
|
||||
#else
|
||||
set => Set(ref _content, value);
|
||||
@@ -32,7 +32,7 @@ namespace HandyControlDemo.ViewModel
|
||||
get => _contextMenuIsShow;
|
||||
set
|
||||
{
|
||||
#if netle40
|
||||
#if NET40
|
||||
Set(nameof(ContextMenuIsShow), ref _contextMenuIsShow, value);
|
||||
#else
|
||||
Set(ref _contextMenuIsShow, value);
|
||||
@@ -52,7 +52,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public bool ContextMenuIsBlink
|
||||
{
|
||||
get => _contextMenuIsBlink;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(ContextMenuIsBlink), ref _contextMenuIsBlink, value);
|
||||
#else
|
||||
set => Set(ref _contextMenuIsBlink, value);
|
||||
@@ -66,7 +66,7 @@ namespace HandyControlDemo.ViewModel
|
||||
get => _contextContentIsShow;
|
||||
set
|
||||
{
|
||||
#if netle40
|
||||
#if NET40
|
||||
Set(nameof(ContextContentIsShow), ref _contextContentIsShow, value);
|
||||
#else
|
||||
Set(ref _contextContentIsShow, value);
|
||||
@@ -86,7 +86,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public bool ContextContentIsBlink
|
||||
{
|
||||
get => _contextContentIsBlink;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(ContextContentIsBlink), ref _contextContentIsBlink, value);
|
||||
#else
|
||||
set => Set(ref _contextContentIsBlink, value);
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public int PageIndex
|
||||
{
|
||||
get => _pageIndex;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(PageIndex), ref _pageIndex, value);
|
||||
#else
|
||||
set => Set(ref _pageIndex, value);
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public int StepIndex
|
||||
{
|
||||
get => _stepIndex;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(StepIndex), ref _stepIndex, value);
|
||||
#else
|
||||
set => Set(ref _stepIndex, value);
|
||||
|
||||
Reference in new issue
Block a user