WebViewBrush.SourceName property

Applies to Windows only

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

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:
© 2014 Microsoft