mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Stagger animations on settings page
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
xmlns:zmhc="clr-namespace:ZuneModdingHelper.Controls"
|
xmlns:zmhc="clr-namespace:ZuneModdingHelper.Controls"
|
||||||
xmlns:zmhs="clr-namespace:ZuneModdingHelper.Services"
|
xmlns:zmhs="clr-namespace:ZuneModdingHelper.Services"
|
||||||
xmlns:ocW="clr-namespace:OwlCore.Wpf;assembly=OwlCore.Wpf"
|
xmlns:ocW="clr-namespace:OwlCore.Wpf;assembly=OwlCore.Wpf"
|
||||||
|
xmlns:b="clr-namespace:ZuneModdingHelper.Behaviors"
|
||||||
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
d:DesignHeight="450" d:DesignWidth="800"
|
d:DesignHeight="450" d:DesignWidth="800"
|
||||||
d:Background="White"
|
d:Background="White"
|
||||||
@@ -20,6 +22,7 @@
|
|||||||
</UserControl.Resources>
|
</UserControl.Resources>
|
||||||
|
|
||||||
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
||||||
|
<StackPanel>
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock Style="{StaticResource ZuneBodyTextBlockStyle}">
|
<TextBlock Style="{StaticResource ZuneBodyTextBlockStyle}">
|
||||||
<Run Text="Zune" Style="{StaticResource ZuneHeaderTextStyle}"/>
|
<Run Text="Zune" Style="{StaticResource ZuneHeaderTextStyle}"/>
|
||||||
@@ -36,7 +39,9 @@
|
|||||||
<Button Content="KILL ALL" HorizontalAlignment="Left" Margin="0,8,0,0"
|
<Button Content="KILL ALL" HorizontalAlignment="Left" Margin="0,8,0,0"
|
||||||
Visibility="{Binding FolderPickerVisibility, Mode=OneTime}"
|
Visibility="{Binding FolderPickerVisibility, Mode=OneTime}"
|
||||||
Click="KillZuneButton_Click"/>
|
Click="KillZuneButton_Click"/>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel>
|
||||||
<TextBlock Margin="0,24,0,0" Style="{StaticResource ZuneBodyTextBlockStyle}">
|
<TextBlock Margin="0,24,0,0" Style="{StaticResource ZuneBodyTextBlockStyle}">
|
||||||
<Run Text="General" Style="{StaticResource ZuneHeaderTextStyle}"/>
|
<Run Text="General" Style="{StaticResource ZuneHeaderTextStyle}"/>
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
@@ -52,5 +57,14 @@
|
|||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
<i:Interaction.Behaviors>
|
||||||
|
<b:FadeAnimateItemsPanelBehavior Tick="0:0:0.05">
|
||||||
|
<b:FadeAnimateItemsPanelBehavior.Animation>
|
||||||
|
<DoubleAnimation From="0" To="1" Duration="0:0:0.3"/>
|
||||||
|
</b:FadeAnimateItemsPanelBehavior.Animation>
|
||||||
|
</b:FadeAnimateItemsPanelBehavior>
|
||||||
|
</i:Interaction.Behaviors>
|
||||||
|
</StackPanel>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|||||||
Reference in New Issue
Block a user