码迷,mamicode.com
首页 > Windows程序 > 详细

WPF loading加载动画库

时间:2018-09-22 12:44:55      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:http   ase   width   pac   html   fonts   isl   text   nts   

原文:WPF loading加载动画库

1. 下载Dll

?????? https://pan.baidu.com/s/1wKgv5_Q8phWo5CrXWlB9dA

2.在项目中添加引用

??????? 略

3.在Xaml中引入名称空间

????? xmlns:myLib="clr-namespace:MyLoadingLib;assembly=MyLoadingLib"

4.使用代码

?????<StackPanel>
???? <myLib:CirclePointRingLoading Width="40" Height="40" IsActive="True" IsLarge="False" Foreground="#3ca9fe"/>
??????????????????? <TextBlock Foreground="#787978" FontSize="13" Text="正在检测新版本..."? Padding="10,15,0,0"/>
??????????????????? <myLib:HorizontalPoingLoading FillBrush="#3ca9fe" EllipseDiameter="10"/>
??????????????????? <myLib:ThreePoingLoading Foreground="#3ca9fe" Margin="0,20,0,0" />
??????????????????? <myLib:TwoPointLoading EllipseWidth="16" Foreground="#3ca9fe" />
??????????????????? <myLib:OnePointLoading Foreground="#3ca9fe" Margin="5"/>
??????????????????? <myLib:RadnerLoading Foreground="#1ab394"/>
???????????????????
??????????????????? <myLib:GridLoading Foreground="#3ca9fe" />
??????????????????? <myLib:FiveColumnLoading Foreground="#3ca9fe" />
??????????????????? <myLib:IconLoading Foreground="#3ca9fe" IconSize="30" Icon="&#xe62e;"/>
??????????????????? <myLib:IconLoading Foreground="#3ca9fe" IconSize="30" Icon="&#xe623;"/>
??????????????????? <myLib:IconLoading Foreground="#3ca9fe" IconSize="30" Icon="&#xe770;"/>

??? </StackPanel>????


5. ?? 效果

技术分享图片


虽然不是那么的全面 ,希望能帮助到更多的朋友



WPF loading加载动画库

标签:http   ase   width   pac   html   fonts   isl   text   nts   

原文地址:https://www.cnblogs.com/lonelyxmas/p/9689222.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!