Projektdateien hinzufügen.
This commit is contained in:
26
VideoBrowser/Controls/CefSharpBrowser/CefSharpBrowser.xaml
Normal file
26
VideoBrowser/Controls/CefSharpBrowser/CefSharpBrowser.xaml
Normal file
@@ -0,0 +1,26 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user