Hello,
I want to use WebView2 control in Standard-MDI.
Is there any property should be set when use WebView2 in Standard MDI?
WebView2 is always displayed in front of other document window.
I tried with "StandardMdiOnly" sample.
I replaced content of Document2.txt to WebView2 control.
<sampleBrowser:ProductItemControl
...
xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf">
...
<docking:DocumentWindow
Title="Document2.txt"
Description="Text document"
FileName="Document2.txt"
ImageSource="/Images/Icons/TextDocument16.png">
<wv2:WebView2 docking:InteropFocusTracking.IsEnabled="True" Source="https://docs.microsoft.com/en-us/" />
<!--<TextBox BorderThickness="0" Text="The second document." TextWrapping="Wrap" />-->
</docking:DocumentWindow>