Skip to content

Instantly share code, notes, and snippets.

@anuith
Created June 24, 2012 03:59
Show Gist options
  • Save anuith/2981521 to your computer and use it in GitHub Desktop.
Save anuith/2981521 to your computer and use it in GitHub Desktop.
Windows Phone Hackathon : Bing Map Sample - UI no map
<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--TitlePanel contains the name of the application and page title-->
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,17">
<TextBlock x:Name="ApplicationTitle" Text="MY MAP APPLICATION"
Style="{StaticResource PhoneTextNormalStyle}" FontSize="24"/>
</StackPanel>
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0" Grid.RowSpan="2">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox x:Name="TextBox_Lat" Text="13.739239" InputScope="TelephoneNumber"/>
<TextBox x:Name="TextBox_Lon" Text="100.547369" Grid.Column="1"
InputScope="TelephoneNumber"/>
<Button x:Name="Button_Go" Content="go" Grid.Column="2" Click="Button_Go_Click"/>
<!--
*
*
*
* Map will be placed here
*
*
*
-->
<TextBlock x:Name="TextBlock_Status" TextWrapping="Wrap"
Text="status here" Grid.Row="2" Grid.ColumnSpan="3"/>
</Grid>
</Grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment