Lottie-Windows/LottieViewer/FeedbackLottie.xaml

29 строки
1.4 KiB
XML

<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>