-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathMainWindow.axaml
35 lines (33 loc) · 1.6 KB
/
MainWindow.axaml
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
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Xilium.CefGlue.Demo.Avalonia.MainWindow"
MinWidth="500"
MinHeight="300"
Title="Avalonia CefGlue Demo">
<NativeMenu.Menu>
<NativeMenu>
<NativeMenuItem Header="File">
<NativeMenuItem.Menu>
<NativeMenu>
<NativeMenuItem Header="New Tab" Click="OnNewTabNativeMenuItemClick" />
<NativeMenuItem Header="Open Dev Tools..." Click="OnOpenDevToolsNativeMenuItemClick"/>
<NativeMenuItem Header="Evaluate Javascript" Click="OnEvaluateJavascriptNativeMenuItemClick" />
<NativeMenuItem Header="Bind Javascript Object" Click="OnBindJavascriptObjectNativeMenuItemClick" />
</NativeMenu>
</NativeMenuItem.Menu>
</NativeMenuItem>
</NativeMenu>
</NativeMenu.Menu>
<DockPanel>
<Menu Name="mainMenu" DockPanel.Dock="Top">
<MenuItem Header="_File">
<MenuItem Header="_New Tab" Click="OnNewTabMenuItemClick" />
<MenuItem Header="_Open Dev Tools..." Click="OnOpenDevToolsMenuItemClick"/>
<MenuItem Header="_Evaluate Javascript" Click="OnEvaluateJavascriptMenuItemClick" />
<MenuItem Header="_Bind Javascript Object" Click="OnBindJavascriptObjectMenuItemClick" />
</MenuItem>
</Menu>
<TabControl Name="tabControl">
</TabControl>
</DockPanel>
</Window>