Skip to content

Commit fa4e245

Browse files
committed
Add animation
1 parent cdad7a6 commit fa4e245

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

labs/SettingsControls/samples/SettingsControls.Samples/SettingsPageExample.xaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="SettingsControlsExperiment.Samples.SettingsPageExample"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -26,7 +26,10 @@
2626
<StackPanel MaxWidth="1000"
2727
HorizontalAlignment="Stretch"
2828
Spacing="{StaticResource SettingsCardSpacing}">
29-
29+
<StackPanel.ChildrenTransitions>
30+
<EntranceThemeTransition FromVerticalOffset="50"
31+
IsStaggeringEnabled="True" />
32+
</StackPanel.ChildrenTransitions>
3033
<TextBlock Style="{StaticResource SettingsSectionHeaderTextBlockStyle}"
3134
Text="Section 1" />
3235
<labs:SettingsCard Description="This is a default card, with the Header, HeaderIcon, Description and Content set"

0 commit comments

Comments
 (0)