26 lines
1.2 KiB
XML
26 lines
1.2 KiB
XML
<Grid
|
|
x:Class="VideoBrowser.Controls.CefSharpBrowser.CefSharpBrowser"
|
|
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:viewmodels="clr-namespace:VideoBrowser.Controls.CefSharpBrowser.ViewModels"
|
|
xmlns:wpf="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
|
|
x:Name="WebBrowserRoot"
|
|
d:DataContext="{d:DesignInstance viewmodels:VideoBrowserViewModel}"
|
|
d:DesignHeight="450"
|
|
d:DesignWidth="800"
|
|
mc:Ignorable="d">
|
|
<Grid.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="../AirspaceFixer/Themes/AirspacePanel.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</Grid.Resources>
|
|
<wpf:ChromiumWebBrowser
|
|
x:Name="ChromiumWebBrowser"
|
|
Address="{Binding ElementName=WebBrowserRoot, Path=Url, Mode=TwoWay}"
|
|
AllowDrop="True"
|
|
RenderOptions.BitmapScalingMode="Linear" />
|
|
</Grid> |