SourceName property
Collapse the table of content
Expand the table of content

WebViewBrush.SourceName property

Gets or sets the name of the source WebView control that provides the HTML content.

Syntax


Public Property SourceName As String


<WebViewBrush SourceName="nameOfWebView"/>

XAML Values

nameOfWebView

The x:Name or reference name of an existing WebView control in the same UI.

Property value

Type: System.String [.NET] | Platform::String [C++]

The Name or x:Name attribute of the WebView 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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

WebViewBrush

 

 

Show:
© 2016 Microsoft