mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
24 lines
980 B
XML
24 lines
980 B
XML
<Window x:Class="CefSharp.Wpf.Example.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:cefSharp="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
|
|
xmlns:example="clr-namespace:CefSharp.Example;assembly=CefSharp.Example"
|
|
Title="CefSharp.Wpf.Example"
|
|
WindowState="Maximized">
|
|
|
|
<TabControl Margin="0,5,0,0">
|
|
<!-- TODO: Add support for opening/closing tabs freely, as the user wishes -->
|
|
<TabItem Header="{Binding Tab1Content.DataContext.Title}"
|
|
Width="150"
|
|
Height="20">
|
|
<ContentControl Content="{Binding Tab1Content}" />
|
|
</TabItem>
|
|
|
|
<TabItem Header="{Binding Tab2Content.DataContext.Title}"
|
|
Width="150"
|
|
Height="20">
|
|
<ContentControl Content="{Binding Tab2Content}" />
|
|
</TabItem>
|
|
</TabControl>
|
|
</Window>
|