WebView2 : FrameworkElement (UWP) Control (Android/iOS/tvOS/WASM)

Implemented for: Android, iOS, tvOS, WASM

This document lists all properties, methods, and events of WebView2 that are currently implemented by the Uno Platform. See the WinUI documentation for detailed usage guidelines which all automatically apply to Uno Platform.

Implemented properties

Property Supported on
Uri Source WASM, Skia, Mobile
bool CanGoForward WASM, Skia, Mobile
bool CanGoBack WASM, Skia, Mobile
CoreWebView2 CoreWebView2 WASM, Skia, Mobile
DependencyProperty CanGoBackProperty WASM, Skia, Mobile
DependencyProperty CanGoForwardProperty WASM, Skia, Mobile
DependencyProperty SourceProperty WASM, Skia, Mobile

Implemented methods

Method Supported on
IAsyncAction EnsureCoreWebView2Async() WASM, Skia, Mobile
IAsyncOperation ExecuteScriptAsync(string) WASM, Skia, Mobile
void Reload() WASM, Skia, Mobile
void GoForward() WASM, Skia, Mobile
void GoBack() WASM, Skia, Mobile
void NavigateToString(string) WASM, Skia, Mobile

Implemented events

Event Supported on
TypedEventHandler<WebView2, CoreWebView2ProcessFailedEventArgs> CoreProcessFailed WASM, Skia, Mobile
TypedEventHandler<WebView2, CoreWebView2InitializedEventArgs> CoreWebView2Initialized WASM, Skia, Mobile
TypedEventHandler<WebView2, CoreWebView2NavigationCompletedEventArgs> NavigationCompleted WASM, Skia, Mobile
TypedEventHandler<WebView2, CoreWebView2NavigationStartingEventArgs> NavigationStarting WASM, Skia, Mobile
TypedEventHandler<WebView2, CoreWebView2WebMessageReceivedEventArgs> WebMessageReceived WASM, Skia, Mobile

Below are all properties, methods, and events of WebView2 that are not currently implemented in Uno.

Not implemented properties

Property Not supported on
Uri Source MacOS
Color DefaultBackgroundColor all platforms supported by Uno Platform
bool CanGoForward MacOS
bool CanGoBack MacOS
CoreWebView2 CoreWebView2 MacOS
DependencyProperty CanGoBackProperty MacOS
DependencyProperty CanGoForwardProperty MacOS
DependencyProperty DefaultBackgroundColorProperty all platforms supported by Uno Platform
DependencyProperty SourceProperty MacOS

Not implemented methods

Method Not supported on
IAsyncAction EnsureCoreWebView2Async() MacOS
IAsyncOperation ExecuteScriptAsync(string) MacOS
void Reload() MacOS
void GoForward() MacOS
void GoBack() MacOS
void NavigateToString(string) MacOS
void Close() all platforms supported by Uno Platform
IAsyncAction EnsureCoreWebView2Async(CoreWebView2Environment) all platforms supported by Uno Platform
IAsyncAction EnsureCoreWebView2Async(CoreWebView2Environment, CoreWebView2ControllerOptions) all platforms supported by Uno Platform

Not implemented events

Event Not supported on
TypedEventHandler<WebView2, CoreWebView2ProcessFailedEventArgs> CoreProcessFailed MacOS
TypedEventHandler<WebView2, CoreWebView2InitializedEventArgs> CoreWebView2Initialized MacOS
TypedEventHandler<WebView2, CoreWebView2NavigationCompletedEventArgs> NavigationCompleted MacOS
TypedEventHandler<WebView2, CoreWebView2NavigationStartingEventArgs> NavigationStarting MacOS
TypedEventHandler<WebView2, CoreWebView2WebMessageReceivedEventArgs> WebMessageReceived MacOS

Last updated Monday, 14 April 2025 02:07.