- <Window x:Class="WpfApp2.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:cs="clr-namespace:CefSharp;assembly=CefSharp"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:WpfApp2"
- mc:Ignorable="d"
- Title="MainWindow" Height="350" Width="525">
- <Grid>
- <cefSharp:ChromiumWebBrowser x:Name="Browser1" Grid.Row="0" Address="https://youtube.com" cs:IDisplayHandler.OnFullscreenModeChange="" />
- </Grid>
- </Window>