I tried to set HorizontalAlignment="Stretch" & VerticalAlignment="Stretch" but it was not work.
<Window
x:Class="Y.Shen12DP.PLCT.WebWidow"
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:local="clr-namespace:Y.Shen12DP.PLCT"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
Title="WebWidow"
Width="800"
Height="450"
mc:Ignorable="d">
<Grid>
<wv2:WebView2
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Source="https://www.microsoft.com/" />
</Grid>
</Window>
Could you tell me how to do it (adaptive size effect or full - screen)?