-
Notifications
You must be signed in to change notification settings - Fork 21
/
MainWindow.xaml
26 lines (24 loc) · 1.36 KB
/
MainWindow.xaml
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
<Window
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:local="clr-namespace:Zoom.Wpf"
xmlns:Wpf="clr-namespace:DotNetBrowser.Wpf;assembly=DotNetBrowser.Wpf" x:Class="Zoom.Wpf.MainWindow"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800" Closed="MainWindow_OnClosed">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Wpf:BrowserView Name="BrowserView" HorizontalAlignment="Stretch" Grid.Row="1" VerticalAlignment="Stretch"/>
<DockPanel HorizontalAlignment="Stretch" LastChildFill="False" VerticalAlignment="Stretch" >
<CheckBox Name="ZoomEnabledCheckbox" Content="Zoom Enabled" VerticalAlignment="Center" IsChecked="True"
Margin="10"
Checked="ZoomEnabledCheckbox_OnChecked"
Unchecked="ZoomEnabledCheckbox_OnUnchecked"/>
<Label Content="Use Ctrl + scroll to zoom" VerticalAlignment="Center" VerticalContentAlignment="Center" Foreground="Gray"/>
</DockPanel>
</Grid>
</Window>