Created
September 10, 2017 13:36
-
-
Save Odonno/d18d9864cde04448fe2a14d0cfdccc70 to your computer and use it in GitHub Desktop.
XAML part of the NotificationCenter-like scrolling animation for WIndows Phone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="60"/> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="30"/> | |
<RowDefinition Height="*"/> | |
</Grid.RowDefinitions> | |
<!-- the title block --> | |
<Grid Background="#FF5E58C7"> | |
<!-- the title content block --> | |
</Grid> | |
<!-- the animated block --> | |
<StackPanel x:Name="animatedPanel" Grid.Row="1"> | |
<!-- the animated content block --> | |
</StackPanel> | |
<!-- button of animation (show / hide animated block) --> | |
<Button x:Name="animationButton" Grid.Row="2" Background="#FF5E58C7" | |
Style="{StaticResource TextBlockButtonStyle}" | |
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> | |
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="24" | |
FontFamily="Segoe UI Symbol" Text="" /> | |
</Button> | |
<!-- another block--> | |
<Grid Grid.Row="3"> | |
<!-- content block --> | |
</Grid> | |
</Grid> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment