-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
21 lines (21 loc) · 1.01 KB
/
Copy pathMainWindow.xaml
File metadata and controls
21 lines (21 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Window x:Class="UiAutomation.Wpf.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:wpf="clr-namespace:DotNetBrowser.Wpf;assembly=DotNetBrowser.Wpf"
mc:Ignorable="d"
Title="MainWindow" Height="600" Width="800" Closed="Window_Closed">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="199*" />
<RowDefinition Height="88*" />
<RowDefinition Height="29" />
</Grid.RowDefinitions>
<wpf:BrowserView Grid.Row="0" Name="BrowserView" />
<TextBox Name="TextOutput" Grid.Row="1" VerticalScrollBarVisibility="Auto" />
<Button Grid.Row="2" Name="Button"
Content="Access DotNetBrowser contents via UI Automation"
Click="Button_Click" />
</Grid>
</Window>