Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.17 KB

webviewbrush_sourcename.md

File metadata and controls

35 lines (25 loc) · 1.17 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.WebViewBrush.SourceName
winrt property

Windows.UI.Xaml.Controls.WebViewBrush.SourceName

-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.
## -property-value The [Name](../windows.ui.xaml/frameworkelement_name.md) or [x:Name attribute](/windows/uwp/xaml-platform/x-name-attribute) of the [WebView](webview.md) that provides the HTML content.

-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.

-examples

-see-also