WebView
Last updated
Last updated
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 | Description |
---|---|
Properties | Description |
---|---|
Properties | 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
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 ViewRef
instance to retrieve the Xamarin.Forms.WebView
instance associated to this widget
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