init branch

This commit is contained in:
NaBian committed 2019-08-03 01:10:06 +08:00
1 parent 0061b04b71
commit fc3fd6b533
28 files changed
+302 -3

No files matched your search

@@ -0,0 +1,25 @@
<UserControl x:Class="HandyControlDemo.UserControl.RunningBlockDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"
Background="{DynamicResource RegionBrush}"
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs">
<StackPanel Margin="32">
<hc:RunningBlock Content="{Binding Source={x:Static langs:Lang.Text}, Converter={StaticResource StringRepeatConverter}, ConverterParameter=5}"/>
<hc:RunningBlock Content="{Binding Source={x:Static langs:Lang.Text}, Converter={StaticResource StringRepeatConverter}, ConverterParameter=10}" Duration="0:0:10" Margin="0,16,0,0"/>
<hc:RunningBlock Margin="0,16,0,0" Duration="0:0:20">
<StackPanel Orientation="Horizontal">
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/1.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/2.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/3.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/4.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/5.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/6.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/7.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/8.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/9.gif"/>
<hc:GifImage Uri="/HandyControlDemo;component/Resources/Img/QQ/10.gif"/>
</StackPanel>
</hc:RunningBlock>
</StackPanel>
</UserControl>
@@ -0,0 +1,10 @@
namespace HandyControlDemo.UserControl
{
public partial class RunningBlockDemoCtl
{
public RunningBlockDemoCtl()
{
InitializeComponent();
}
}
}
@@ -325,6 +325,11 @@
<Image Source="../../Resources/Img/LeftMainContent/TextBlock_16x.png"/>
</hc:EdgeElement.LeftContent>
</ListBoxItem>
<ListBoxItem Style="{StaticResource ListBoxItemNew}" Tag="{x:Static data:MessageToken.RunningBlockDemoCtl}" Content="{x:Static langs:Lang.RunningBlock}">
<hc:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/Dynamic_16x.png"/>
</hc:EdgeElement.LeftContent>
</ListBoxItem>
<ListBoxItem Style="{StaticResource ListBoxItemNew}" Tag="{x:Static data:MessageToken.CardDemoCtl}" Content="{x:Static langs:Lang.Card}">
<hc:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/VSO_Card_16x.png"/>
@@ -400,7 +405,7 @@
<Image Source="../../Resources/Img/LeftMainContent/HoverMenu_16x.png"/>
</hc:EdgeElement.LeftContent>
</ListBoxItem>
<ListBoxItem Style="{StaticResource ListBoxItemNew}" Tag="{x:Static data:MessageToken.RangeSliderDemoCtl}" Content="{x:Static langs:Lang.RangeSlider}">
<ListBoxItem Tag="{x:Static data:MessageToken.RangeSliderDemoCtl}" Content="{x:Static langs:Lang.RangeSlider}">
<hc:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/brackets_Square_16xLG.png"/>
</hc:EdgeElement.LeftContent>