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

Implemented for: Android, iOS, MacOS

This document lists all properties, methods, and events of WebView that are currently implemented by the Uno Platform. See the WinUI and UWP 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 CanGoBack all platforms supported by Uno Platform
bool CanGoForward all platforms supported by Uno Platform
string DocumentTitle all platforms supported by Uno Platform
DependencyObject XYFocusUp all platforms supported by Uno Platform
DependencyObject XYFocusRight all platforms supported by Uno Platform
DependencyObject XYFocusLeft all platforms supported by Uno Platform
DependencyObject XYFocusDown all platforms supported by Uno Platform
DependencyProperty SourceProperty all platforms supported by Uno Platform
DependencyProperty CanGoBackProperty all platforms supported by Uno Platform
DependencyProperty CanGoForwardProperty all platforms supported by Uno Platform
DependencyProperty DocumentTitleProperty all platforms supported by Uno Platform
DependencyProperty XYFocusDownProperty all platforms supported by Uno Platform
DependencyProperty XYFocusLeftProperty all platforms supported by Uno Platform
DependencyProperty XYFocusRightProperty all platforms supported by Uno Platform
DependencyProperty XYFocusUpProperty all platforms supported by Uno Platform

Implemented methods

Method Supported on
void Navigate(Uri) all platforms supported by Uno Platform
void NavigateToString(string) all platforms supported by Uno Platform
void GoForward() all platforms supported by Uno Platform
void GoBack() all platforms supported by Uno Platform
void Refresh() all platforms supported by Uno Platform
void Stop() all platforms supported by Uno Platform
IAsyncOperation InvokeScriptAsync(string, IEnumerable) all platforms supported by Uno Platform
void NavigateWithHttpRequestMessage(HttpRequestMessage) all platforms supported by Uno Platform
bool Focus(FocusState) all platforms supported by Uno Platform

Implemented events

Event Supported on
WebViewNavigationFailedEventHandler NavigationFailed all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewNavigationCompletedEventArgs> NavigationCompleted all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewNavigationStartingEventArgs> NavigationStarting all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewNewWindowRequestedEventArgs> NewWindowRequested all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewUnsupportedUriSchemeIdentifiedEventArgs> UnsupportedUriSchemeIdentified all platforms supported by Uno Platform

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

Not implemented properties

Property Not supported on
IList AllowedScriptNotifyUris all platforms supported by Uno Platform
DataPackage DataTransferPackage all platforms supported by Uno Platform
Color DefaultBackgroundColor all platforms supported by Uno Platform
bool ContainsFullScreenElement all platforms supported by Uno Platform
IList DeferredPermissionRequests all platforms supported by Uno Platform
WebViewExecutionMode ExecutionMode all platforms supported by Uno Platform
WebViewSettings Settings all platforms supported by Uno Platform
DependencyProperty AllowedScriptNotifyUrisProperty all platforms supported by Uno Platform
IList AnyScriptNotifyUri all platforms supported by Uno Platform
DependencyProperty DataTransferPackageProperty all platforms supported by Uno Platform
DependencyProperty DefaultBackgroundColorProperty all platforms supported by Uno Platform
DependencyProperty ContainsFullScreenElementProperty all platforms supported by Uno Platform
WebViewExecutionMode DefaultExecutionMode all platforms supported by Uno Platform

Not implemented methods

Method Not supported on
string InvokeScript(string, string[]) all platforms supported by Uno Platform
IAsyncAction CapturePreviewToStreamAsync(IRandomAccessStream) all platforms supported by Uno Platform
IAsyncOperation CaptureSelectedContentToDataPackageAsync() all platforms supported by Uno Platform
void NavigateToLocalStreamUri(Uri, IUriToStreamResolver) all platforms supported by Uno Platform
Uri BuildLocalStreamUri(string, string) all platforms supported by Uno Platform
void AddWebAllowedObject(string, object) all platforms supported by Uno Platform
WebViewDeferredPermissionRequest DeferredPermissionRequestById(uint) all platforms supported by Uno Platform
IAsyncAction ClearTemporaryWebDataAsync() all platforms supported by Uno Platform

Not implemented events

Event Not supported on
LoadCompletedEventHandler LoadCompleted all platforms supported by Uno Platform
NotifyEventHandler ScriptNotify all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewContentLoadingEventArgs> ContentLoading all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewDOMContentLoadedEventArgs> DOMContentLoaded all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewContentLoadingEventArgs> FrameContentLoading all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewDOMContentLoadedEventArgs> FrameDOMContentLoaded all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewNavigationCompletedEventArgs> FrameNavigationCompleted all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewNavigationStartingEventArgs> FrameNavigationStarting all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewLongRunningScriptDetectedEventArgs> LongRunningScriptDetected all platforms supported by Uno Platform
TypedEventHandler<WebView, object> UnsafeContentWarningDisplaying all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewUnviewableContentIdentifiedEventArgs> UnviewableContentIdentified all platforms supported by Uno Platform
TypedEventHandler<WebView, object> ContainsFullScreenElementChanged all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewPermissionRequestedEventArgs> PermissionRequested all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewSeparateProcessLostEventArgs> SeparateProcessLost all platforms supported by Uno Platform
TypedEventHandler<WebView, WebViewWebResourceRequestedEventArgs> WebResourceRequested all platforms supported by Uno Platform

Last updated Friday, 03 November 2023 16:21.