This commit is contained in:
NaBian committed 2019-08-16 22:06:51 +08:00
1 parent 2ddfaf9f9e
commit c2bfe12a28
4 files changed
+13 -4

No files matched your search

@@ -21,7 +21,11 @@ namespace HandyControlDemo.ViewModel
public ShowAnimation ShowAnimation
{
get => _showAnimation;
#if netle40
set => Set(nameof(ShowAnimation) ,ref _showAnimation, value);
#else
set => Set(ref _showAnimation, value);
#endif
}
private bool _staysOpen = true;
@@ -29,7 +33,11 @@ namespace HandyControlDemo.ViewModel
public bool StaysOpen
{
get => _staysOpen;
#if netle40
set => Set(nameof(StaysOpen) ,ref _staysOpen, value);
#else
set => Set(ref _staysOpen, value);
#endif
}
}
}