blob: b8301312d41749633e87eb49cbbd9ad5f8db256a (
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
|
<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: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="564.721" Width="504.315" DataContext="{Binding RelativeSource={RelativeSource Self}}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="232*"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<explorer:ExplorerControl x:Name="explorer" CurrentPath="{Binding CurrentPath,Mode=TwoWay}" />
<StackPanel Orientation="Horizontal" Grid.Row="1">
<Button Click="Button_Click">LOAD</Button>
<Button Command="{Binding ElementName=explorer,Path=BackCommand}">BACK</Button>
<TextBox Width="200" Margin="10 0 0 0" Text="{Binding ElementName=explorer,Path=CurrentPath}"></TextBox>
</StackPanel>
</Grid>
</Window>
|