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

Implemented for: Xamarin, 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 all platforms supported by Uno Platform
bool CanGoForward all platforms supported by Uno Platform
bool CanGoBack all platforms supported by Uno Platform
CoreWebView2 CoreWebView2 all platforms supported by Uno Platform
DependencyProperty CanGoBackProperty all platforms supported by Uno Platform
DependencyProperty CanGoForwardProperty all platforms supported by Uno Platform
DependencyProperty SourceProperty all platforms supported by Uno Platform

Implemented methods

Method Supported on
IAsyncAction EnsureCoreWebView2Async() all platforms supported by Uno Platform
IAsyncOperation ExecuteScriptAsync(string) all platforms supported by Uno Platform
void Reload() all platforms supported by Uno Platform
void GoForward() all platforms supported by Uno Platform
void GoBack() all platforms supported by Uno Platform
void NavigateToString(string) all platforms supported by Uno Platform

Implemented events

Event Supported on
TypedEventHandler<WebView2, CoreWebView2ProcessFailedEventArgs> CoreProcessFailed all platforms supported by Uno Platform
TypedEventHandler<WebView2, CoreWebView2InitializedEventArgs> CoreWebView2Initialized all platforms supported by Uno Platform
TypedEventHandler<WebView2, CoreWebView2NavigationCompletedEventArgs> NavigationCompleted all platforms supported by Uno Platform
TypedEventHandler<WebView2, CoreWebView2NavigationStartingEventArgs> NavigationStarting all platforms supported by Uno Platform
TypedEventHandler<WebView2, CoreWebView2WebMessageReceivedEventArgs> WebMessageReceived all platforms supported by Uno Platform

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

Not implemented properties

Property Not supported on
Color DefaultBackgroundColor all platforms supported by Uno Platform
DependencyProperty DefaultBackgroundColorProperty all platforms supported by Uno Platform

Not implemented methods

Method Not supported on
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

Last updated Saturday, 07 December 2024 06:00.