add FlipNumber

This commit is contained in:
NaBian committed 2018-12-15 23:37:26 +08:00
1 parent ded4994cd5
commit 2a87323e0f
23 files changed
+439 -7

No files matched your search

@@ -0,0 +1,16 @@
<UserControl x:Class="HandyControlDemo.UserControl.FlipNumberDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Background="{DynamicResource RegionBrush}"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl">
<controls:TransitioningContentControl>
<Grid Margin="32">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<controls:NumericUpDown x:Name="UpDown" Minimum="0" Maximum="9"/>
<controls:FlipNumber Number="{Binding Value,ElementName=UpDown}" Grid.Row="1" Margin="0,16,0,0"/>
</Grid>
</controls:TransitioningContentControl>
</UserControl>
@@ -0,0 +1,10 @@
namespace HandyControlDemo.UserControl
{
public partial class FlipNumberDemoCtl
{
public FlipNumberDemoCtl()
{
InitializeComponent();
}
}
}