Windows Dev Center

WebViewBrush.Redraw method

Causes the WebViewBrush to get updated source pixels from the associated WebView and its current content. This happens asynchronously.

Syntax


Public Sub Redraw()

Parameters

This method has no parameters.

Remarks

A WebViewBrush is basically a snapshot of the content being displayed in a WebView. It won't show animations or any dynamic changes to the content. Call Redraw if the source WebView has changed its content significantly and you want to make a new snapshot to display as the WebViewBrush content.

Requirements (Windows 10 device family)

Device family

Universal

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
WebView

 

 

Show:
© 2015 Microsoft