Skip to content

Instantly share code, notes, and snippets.

@anuith
Created June 24, 2012 20:11
Show Gist options
  • Save anuith/2984726 to your computer and use it in GitHub Desktop.
Save anuith/2984726 to your computer and use it in GitHub Desktop.
Windows Phone Hackathon : Facebook & Instagram Sample - ShareTask UI
<!--LayoutRoot is the root grid where all page content is placed-->
<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,28">
<TextBlock x:Name="ApplicationTitle"
Text="MY FACEBOOK &amp; INSTAGRAM APPLICATION"
Style="{StaticResource PhoneTextNormalStyle}"></TextBlock>
<TextBlock x:Name="PageTitle" Text="Use ShareTask" Margin="9,-7,0,0"
Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
<!--ContentPanel - place additional content here-->
<StackPanel x:Name="ContentPanel" Margin="12,0,12,0" Grid.Row="1" >
<TextBlock TextWrapping="Wrap" Text="status:"/>
<TextBox x:Name="TextBox_Status" TextWrapping="Wrap" Text="Hackathon!"/>
<Button x:Name="Button_Share" Content="share status" Click="ShareStatus_Click"/>
<TextBlock TextWrapping="Wrap" Text="link:" Margin="0,35,0,0"/>
<TextBox x:Name="TextBox_Url" TextWrapping="Wrap"
Text="http://www.micthailand.com"/>
<TextBlock TextWrapping="Wrap" Text="link title:"/>
<TextBox x:Name="TextBox_LinkTitle" TextWrapping="Wrap" Text="MIC Thailand"/>
<TextBlock TextWrapping="Wrap" Text="link message:"/>
<TextBox x:Name="TextBox_LinkMsg" TextWrapping="Wrap" Text="Microsoft Innovation Center Bangkok"/>
<Button x:Name="Button_ShareLink" Content="share link" Click="ShareLink_Click"/>
</StackPanel>
</Grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment