Created
September 3, 2017 13:46
-
-
Save Odonno/21a3a442c93ed8863e4409aa4af66458 to your computer and use it in GitHub Desktop.
Example of a MonoGame page in XAML
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> | |
<StackPanel Margin="30 30 0 0"> | |
<TextBlock FontSize="42"> | |
<Run Text="Max distance :" /> | |
<Run Text="{Binding Path=DistanceMax, Converter={StaticResource StringToIntegerConverter}}"/> | |
</TextBlock> | |
<TextBlock FontSize="42"> | |
<Run Text="Dodging point :" /> | |
<Run Text="{Binding Path=BallPoints, Converter={StaticResource StringToIntegerConverter}}"/> | |
</TextBlock> | |
<TextBlock FontSize="42"> | |
<Run Text="Total score :" /> | |
<Run Text="{Binding Path=Score}"/> | |
</TextBlock> | |
</StackPanel> | |
</Grid> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment