aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.UITests/MainWindow.xaml
blob: 53fdc25d344068e3c56e3300bdd12aafc6ba03b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<Window x:Class="Tango.UITests.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:collection="clr-namespace:System.Collections;assembly=mscorlib"
        xmlns:local="clr-namespace:Tango.UITests"
        xmlns:dragAndDrop="clr-namespace:Tango.DragAndDrop;assembly=Tango.DragAndDrop"
        xmlns:components="clr-namespace:Tango.Touch.Components;assembly=Tango.Touch"
        xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
		xmlns:keyboard="clr-namespace:Tango.Touch.Keyboard;assembly=Tango.Touch"
        xmlns:aero="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
        xmlns:stubs="clr-namespace:Tango.Stubs.Views;assembly=Tango.Stubs"
        xmlns:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
        xmlns:commonControls="clr-namespace:Tango.PPC.Common.Controls;assembly=Tango.PPC.Common"
        xmlns:explorer="clr-namespace:Tango.Explorer;assembly=Tango.Explorer"
        mc:Ignorable="d"
        Title="MainWindow" Height="700" Width="800" DataContext="{Binding RelativeSource={RelativeSource Self}}">

    <Grid>
        <touch:TouchPanel>
            <touch:LightTouchScrollViewer>
                <Border Width="500" Height="500" Margin="0 40 0 0">
                    <Grid>
                        <aero:SystemDropShadowChrome CornerRadius="5" Color="Gray" Margin="-3">
                            <aero:SystemDropShadowChrome.RenderTransform>
                                <TranslateTransform X="-5" Y="-5"></TranslateTransform>
                            </aero:SystemDropShadowChrome.RenderTransform>
                        </aero:SystemDropShadowChrome>
                        <Border BorderThickness="1" BorderBrush="Gray" Background="White" CornerRadius="5">

                        </Border>
                        
                        <StackPanel>
                            <touch:TouchNumericTextBox HorizontalAlignment="Center" VerticalAlignment="Center" Width="200"></touch:TouchNumericTextBox>
                            <touch:TouchNumericTextBox Margin="0 40 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" Width="200"></touch:TouchNumericTextBox>

                            <TextBox Margin="0 40 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" Width="200" Height="40"></TextBox>
                            <TextBox Margin="0 40 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" Width="200" Height="40"></TextBox>
                        </StackPanel>
                    </Grid>
                </Border>
            </touch:LightTouchScrollViewer>
        </touch:TouchPanel>
    </Grid>
</Window>