Guest User

Untitled

a guest
Apr 1st, 2012
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.15 KB | None | 0 0
  1. <ScrollViewer>
  2.     <!--LayoutRoot is the root grid where all page content is placed-->
  3.     <Grid x:Name="LayoutRoot" Background="Transparent">
  4.         <Grid.RowDefinitions>
  5.             <RowDefinition Height="Auto"/>
  6.             <RowDefinition Height="*"/>
  7.         </Grid.RowDefinitions>
  8.        
  9.         <!--TitlePanel contains the name of the application and page title-->
  10.         <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
  11.             <TextBlock x:Name="ApplicationTitle" Text="smsflatrate" Style="{StaticResource PhoneTextNormalStyle}"/>
  12.             <TextBlock x:Name="PageTitle" Text="Message" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
  13.         </StackPanel>
  14.  
  15.         <!--ContentPanel - place additional content here-->
  16.         <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
  17.             <TextBox FontSize="24" Margin="0,0,80,532" Name="absenderField" AcceptsReturn="True" TextWrapping="Wrap" Height="auto" MinHeight="30" MaxWidth="375">
  18.                     <TextBox.InputScope>
  19.                         <InputScope>
  20.                             <InputScopeName  NameValue="Text" />
  21.                         </InputScope>
  22.                     </TextBox.InputScope>
  23.             </TextBox>
  24.                 <Button Height="70" HorizontalAlignment="Left" Margin="380,0,0,0" Name="button1" VerticalAlignment="Top" Width="76" Click="button1_Click">
  25.                     <Button.Background>
  26.                         <ImageBrush ImageSource="/Smsflatrate;component/Images/appbar.add.rest2.png" />
  27.                     </Button.Background>
  28.                 </Button>
  29.             </Grid>
  30.             <Grid x:Name="ContentPanel2" Grid.Row="1" Margin="12,63,12,67">
  31.                 <TextBox FontSize="24" Margin="1,0,80,6"  Name="messageField" AcceptsReturn="True" TextWrapping="Wrap" MinHeight="30" MaxWidth="375">
  32.                     <TextBox.InputScope>
  33.                         <InputScope>
  34.                             <InputScopeName  NameValue="Chat" />
  35.                         </InputScope>
  36.                     </TextBox.InputScope>
  37.            </TextBox>
  38.  
  39.             </Grid>
  40.  
  41.  
  42.         </Grid>
  43.     </ScrollViewer>
Advertisement
Add Comment
Please, Sign In to add comment