Last active
August 29, 2015 14:02
-
-
Save wtuts/2fde1fa7f5bce8e7144a to your computer and use it in GitHub Desktop.
Hub tiles -Part 2
This file contains 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
<ListBox x:Name="mylistbox" Margin="10,0,0,97"> | |
<ListBox.ItemsPanel> | |
<ItemsPanelTemplate> | |
<toolkit:WrapPanel Orientation="Horizontal"/> | |
</ItemsPanelTemplate> | |
</ListBox.ItemsPanel> | |
<ListBox.ItemTemplate> | |
<DataTemplate> | |
<StackPanel Height="190" Width="190" HorizontalAlignment="Left" VerticalAlignment="Top"> | |
<toolkit:HubTile Title="{Binding title}" Notification="{Binding notification}" Source="{Binding source}" GroupTag="{Binding tag}" Height="173" Width="173" Margin="0,8,0,0" /> | |
</StackPanel> | |
</DataTemplate> | |
</ListBox.ItemTemplate> | |
</ListBox> | |
<Button Content="Freeze tiles" HorizontalAlignment="Left" Margin="10,527,0,0" VerticalAlignment="Top" Width="202" Height="80" Click="freezetilesbuttonclick"/> | |
<Button Content="Unfreeze tiles" HorizontalAlignment="Right" Margin="0,527,24,0" VerticalAlignment="Top" Width="202" Height="80" Click="Unfreezetilesbuttonclick"/> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment