Skip to content

Instantly share code, notes, and snippets.

@eternaltung
Created September 6, 2013 17:39
Show Gist options
  • Save eternaltung/6467144 to your computer and use it in GitHub Desktop.
Save eternaltung/6467144 to your computer and use it in GitHub Desktop.
<phone:PhoneApplicationPage
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
x:Class="HubtileStates.MainPage"
mc:Ignorable="d">
<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid x:Name="ContentPanel">
<toolkit:HubTile HorizontalAlignment="Left" Margin="21,142,0,0" VerticalAlignment="Top" Message="Expanded" Size="Medium" Tap="HubTile_Tap" Source="/Assets/Elmo.jpg" Notification="Expanded" DisplayNotification="True" Title="Expanded"/>
<toolkit:HubTile HorizontalAlignment="Left" Margin="236,142,0,0" VerticalAlignment="Top" Message="Semiexpanded" Size="Medium" Tap="HubTile_Tap" Source="/Assets/Elmo.jpg" Notification="Semiexpanded" DisplayNotification="True" Title="Semiexpanded"/>
<toolkit:HubTile HorizontalAlignment="Left" Margin="21,385,0,0" VerticalAlignment="Top" Message="Flipped" Size="Medium" Tap="HubTile_Tap" Source="/Assets/Elmo.jpg" Background="Green" Notification="Flipped" DisplayNotification="True" Title="Flipped"/>
<toolkit:HubTile HorizontalAlignment="Left" Margin="236,385,0,0" VerticalAlignment="Top" Message="Collapsed" Size="Medium" Tap="HubTile_Tap" Source="/Assets/Elmo.jpg" Notification="Collapsed" DisplayNotification="True" Title="Collapsed"/>
</Grid>
</Grid>
</phone:PhoneApplicationPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment