Files
cefsharp/CefSharp.Wpf.Example/SimpleMainWindow.xaml
T
amaitland 99c7984f76 WPF - Fix OnMouseLeave in ChromiumWebBrowserWithMouseCapture
- Only send a mouse move on leave
- Update SimpleMainWindow.xaml to use ChromiumWebBrowserWithMouseCapture for testing purposes
2019-09-06 12:31:05 +10:00

27 lines
1.1 KiB
XML

<Window x:Class="CefSharp.Wpf.Example.SimpleMainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wpf="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
xmlns:experimental="clr-namespace:CefSharp.Wpf.Experimental;assembly=CefSharp.Wpf"
Title="SimpleMainWindow" WindowState="Maximized">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<experimental:ChromiumWebBrowserWithMouseCapture Grid.Row="0"
x:Name="Browser"
Address="http://www.google.com" />
<StatusBar Grid.Row="1">
<ProgressBar HorizontalAlignment="Right"
IsIndeterminate="{Binding WebBrowser.IsLoading}"
Width="100"
Height="16"
Margin="3" />
<Separator />
<!-- TODO: Could show hover link URL here -->
<TextBlock />
</StatusBar>
</Grid>
</Window>