-
Notifications
You must be signed in to change notification settings - Fork 78
/
FeedbackLottie.xaml
28 lines (28 loc) · 1.35 KB
/
FeedbackLottie.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<UserControl x:Class="LottieViewer.FeedbackLottie"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:animatedVisuals="using:AnimatedVisuals"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:LottieViewer"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
d:DesignHeight="300"
d:DesignWidth="400"
mc:Ignorable="d">
<UserControl.Resources>
<Storyboard x:Name="_fadeOutStoryboard">
<DoubleAnimation Storyboard.TargetName="_dragNDropHintContainer"
Storyboard.TargetProperty="Opacity"
From="1.0"
To="0.0"
Duration="0:0:0.6" />
</Storyboard>
</UserControl.Resources>
<Grid x:Name="_dragNDropHintContainer">
<muxc:AnimatedVisualPlayer x:Name="_dragNDropHint"
AutomationProperties.Name="Drop your JSON file here"
AutoPlay="False">
<animatedVisuals:UiFeedbackAnimations />
</muxc:AnimatedVisualPlayer>
</Grid>
</UserControl>