WebView

Basic example

View.ContentPage(
    backgroundColor = style.PageColor,
    title ="WebView",
    content = 
        View.WebView(
            source = UrlWebViewSource.op_Implicit "https://fsprojects.github.io/Fabulous/Fabulous.XamarinForms/"
        )
)

Basic example with styling

View.ContentPage(
    backgroundColor = style.PageColor,
    title = "WebView",
    content = 
        View.WebView(
            backgroundColor = style.ViewColor,
            margin = style.Thickness,
            source = UrlWebViewSource.op_Implicit "https://fsprojects.github.io/Fabulous/Fabulous.XamarinForms/"
        )
)

See also:

More examples

WebView is a view for displaying web and HTML content in your app:

let fabulousSite = "https://fsprojects.github.io/Fabulous/Fabulous.XamarinForms/"
View.WebView(
    source = UrlWebViewSource.op_Implicit fabulousSite, 
    backgroundColor = Color.Red,
    margin = Thickness(20.)
)