title: How should I to add property to Button in XAML file for refreshing WebView2 Window
body: <p>I'm pretty new at development of apps with WebView2. Please help.
  I have some XAML which represents the window with image  derived from another PC. So sometimes there is a need to refresh this image. Now I have this part of XAML file</p>
  <pre><code>&lt;Grid &gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width=&quot;*&quot;/&gt;
          &lt;ColumnDefinition Width=&quot;25&quot;/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;TextBlock Text=&quot;{Binding RmoName}&quot; FontSize=&quot;14&quot; TextAlignment=&quot;Center&quot;           
      Grid.ColumnSpan=&quot;2&quot; HorizontalAlignment=&quot;Center&quot; FontWeight=&quot;Bold&quot;&gt;&lt;/TextBlock&gt;
      &lt;Button Grid.Column=&quot;1&quot; Content=&quot;Refresh&quot; CommandTarget=&quot;{Binding ElementName=WebBrowser, Path=ReloadCommand}&quot;/&gt;
  &lt;/Grid&gt;
  
  &lt;!--&lt;Rectangle Width=&quot;1920&quot; Height=&quot;1200&quot; IsEnabled=&quot;False&quot;/&gt;--&gt;
  &lt;wpf:WebView2 Source=&quot;{Binding HostName}&quot; Width=&quot;320&quot; Height=&quot;180&quot; IsEnabled=&quot;False&quot; x:Name=&quot;WebBrowser&quot;/&gt;
  </code></pre>
  <p>Button references to element WebView2 with name called &quot;WebBrowser&quot;, but what property for binding have I to use instead of ReloadCommand to invoke  refreshing the page with this Button?</p>