SHARE
TWEET

saunderl

a guest Dec 6th, 2008 1,242 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <UserControl x:Class="Switcheroo.Page"
  2.    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.    Width="300" Height="300">
  5.     <Grid x:Name="LayoutRoot"
  6.          Tag="Bob">
  7.         <Grid.ColumnDefinitions>
  8.             <ColumnDefinition Width='25' />
  9.             <ColumnDefinition Width='50' />
  10.             <ColumnDefinition Width='50' />
  11.             <ColumnDefinition Width='50' />
  12.             <ColumnDefinition Width='50' />
  13.             <ColumnDefinition Width='50' />
  14.             <ColumnDefinition Width='25' />
  15.         </Grid.ColumnDefinitions>
  16.         <Grid.RowDefinitions>
  17.             <RowDefinition Height='25' />
  18.             <RowDefinition Height='50' />
  19.             <RowDefinition Height='50' />
  20.             <RowDefinition Height='50' />
  21.             <RowDefinition Height='50' />
  22.             <RowDefinition Height='50' />
  23.             <RowDefinition Height='25' />
  24.         </Grid.RowDefinitions>
  25.         <Image x:Name="XamlBoard"
  26.               Grid.RowSpan='7'
  27.               Grid.ColumnSpan='7'
  28.               Source='Splash.png' />
  29.         <StackPanel VerticalAlignment="Center"
  30.                    HorizontalAlignment="Center"
  31.                    Grid.RowSpan="7"
  32.                    Grid.ColumnSpan="7">
  33.             <Button Click="Start_Click"
  34.                    Content="Start"></Button>
  35.         </StackPanel>
  36.     </Grid>
  37. </UserControl>
RAW Paste Data
Top