Advertisement
Guest User

Aardvark Silverlight app under test - XAML

a guest
Apr 18th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.57 KB | None | 0 0
  1. <UserControl
  2.    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5.    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6.    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="SmallSL01.MainPage"
  7.    >
  8.  
  9.     <Grid x:Name="LayoutRoot2" Background="White" Width="300" >
  10.         <StackPanel Orientation="Vertical" Margin="10,10,10,10">
  11.             <sdk:Label Content="Enter the values to add:" Width="150" />
  12.             <StackPanel Orientation="Horizontal" Height="50" Margin="10,10,10,10">
  13.                
  14.                 <TextBox x:Name="Calc1" BorderThickness="5" Width="100" TextAlignment="Center" FontSize="20" AutomationProperties.Name="Calc1Auto"/>
  15.                 <sdk:Label x:Name="Spacer" Content="" Width="20"/>
  16.                 <TextBox x:Name="Calc2" BorderThickness="5" Width="100" TextAlignment="Center" FontSize="20"/>
  17.  
  18.             </StackPanel>
  19.             <StackPanel Orientation="Horizontal" Height="20" />
  20.             <StackPanel Orientation="Horizontal" Height="50">
  21.  
  22.                 <Button Name="Test5" Content="Test5" Click="Button_Click" AutomationProperties.AutomationId="Test5"/>
  23.                 <sdk:Label x:Name="Spacer2" Content="" Width="20"/>
  24.                 <TextBox x:Uid="TheAnswerUID" x:Name="TheAnswer" Width="100" TextAlignment="Center" IsReadOnly="True" FontSize="20"/>
  25.             </StackPanel>
  26.         </StackPanel>
  27.  
  28.     </Grid>
  29. </UserControl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement