Windows.UI.Xaml.Controls.WebViewBrush.SourceName
September 2, 2020 · View on GitHub
-description
Gets or sets the name of the source WebView control that provides the HTML content.
-xaml-syntax
<WebViewBrush SourceName="nameOfWebView"/>
-xaml-values
- nameOfWebView
- nameOfWebViewThe x:Name or reference name of an existing WebView control in the same UI.
-remarks
There are two alternatives for associating a WebViewBrush with a WebView control source:
- Reference the source WebView by its identifier name, by setting the SourceName property.
- Reference the source WebView by reference, by calling the SetSource method and passing a WebView object.