WebView
Inheritance: Element -> NavigableElement -> VisualElement -> View -> View Xamarin.Forms documentation: WebView API / Guide
For details on how the control actually works, please refer to the Xamarin.Forms documentation
Constructors
Constructors | Description |
---|---|
WebView(source: WebViewSource) | Define a WebView widget with a WebViewSource |
WebView(html: string, ?baseUrl: string) | Define a WebView widget with html content and a base URL for all links inside |
WebView(uri: Uri) | Define a WebView with a URI |
WebView(url: string) | Define a WebView with a URL as string |
Properties
Properties | Description |
---|---|
canGoBack(value: bool) | Sets if the user can navigate back |
canGoForward(value: bool) | Sets if the user can navigate forward |
cookies(value: CookieContainer) | Sets the cookies |
enableZoomControls(value: bool) | Sets if the zoom controls are enabled |
displayZoomControls(value: bool) | Sets if the zoom controls are shown on the screen |
reference(value: ViewRef<WebView>) | Sets a |
Events
Properties | Description |
---|---|
onNavigating(onNavigating: WebNavigatingEventArgs -> ‘msg) | Sets the event listener for the navigating event |
onNavigated(onNavigated: WebNavigatedEventArgs -> ‘msg) | Sets the event listener for the navigated event |
onReloadRequested(onReloadRequested: ‘msg) | Sets the event listener for the reload requested event |
Usages
Get access to the underlying Xamarin.Forms.WebView
Last updated