Jaa


WebViewBrush.SetSource(WebView) Method

Definition

Sets the source of the content for the WebViewBrush.

public:
 virtual void SetSource(WebView ^ source) = SetSource;
void SetSource(WebView const& source);
public void SetSource(WebView source);
function setSource(source)
Public Sub SetSource (source As WebView)

Parameters

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

Applies to