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

@@ -3,6 +3,8 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"
Background="White"
BorderThickness="1"
BorderBrush="{DynamicResource BorderBrush}"
Width="320"
Height="518">
<hc:SimplePanel>
@@ -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
}
}
}