WebViewBrush.SetSource method

Applies to Windows only

Sets the source of the content for the WebViewBrush.

Syntax


public void SetSource(
  WebView source
)

Parameters

source

Type: WebView

The WebView hosting the HTML content that is the source for the brush.

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