Files
HandyControl/HandyControlDemo/UserControl/Controls/GifImageDemoCtl.xaml
T
NaBian e4dc65675a add GifImage
Currently, there are only a few basic features, and more features will be added in version 2.0
2018-11-25 16:21:04 +08:00

14 lines
771 B
XML

<UserControl x:Class="HandyControlDemo.UserControl.GifImageDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
Background="{DynamicResource RegionBrush}">
<controls:TransitioningContentControl>
<controls:GifImage x:Name="GifImageMain" Margin="32" Width="400" Height="300">
<controls:GifImage.Source>
<BitmapImage UriSource="/HandyControlDemo;component/Resources/Img/car_chase.gif"/>
</controls:GifImage.Source>
</controls:GifImage>
</controls:TransitioningContentControl>
</UserControl>