Created
October 19, 2010 21:16
-
-
Save jdstanhope/635141 to your computer and use it in GitHub Desktop.
FarseerTransform MainPage
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
<phone:PhoneApplicationPage | |
x:Class="FarseerTransforms.MainPage" | |
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" | |
mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768" | |
FontFamily="{StaticResource PhoneFontFamilyNormal}" | |
FontSize="{StaticResource PhoneFontSizeNormal}" | |
Foreground="{StaticResource PhoneForegroundBrush}" | |
SupportedOrientations="Portrait" Orientation="Portrait" | |
shell:SystemTray.IsVisible="True"> | |
<ItemsControl x:Name="_worldControl" ItemsSource="{Binding Bodies}"> | |
<ItemsControl.ItemTemplate> | |
<DataTemplate> | |
<Rectangle Width="{Binding Width}" Height="{Binding Height}" RenderTransform="{Binding RenderTransform}" Fill="White"/> | |
</DataTemplate> | |
</ItemsControl.ItemTemplate> | |
<ItemsControl.ItemsPanel> | |
<ItemsPanelTemplate> | |
<Canvas> | |
</Canvas> | |
</ItemsPanelTemplate> | |
</ItemsControl.ItemsPanel> | |
</ItemsControl> | |
</phone:PhoneApplicationPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment