Show / Hide Table of Contents

    Interface IWebView

    Describes web view object.

    Inherited members

    System.IDisposable.Dispose()

    Properties

    | Improve this Doc View Source

    CanExecuteJavascriptInMainFrame

    Gets a flag that indicates if you can execute javascript in the main frame.

    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    WindowHost

    Gets window host for the web view. Doesn't apply to off-screen views.

    Property Value
    Type Description
    System.Windows.Window

    Methods

    | Improve this Doc View Source

    Close()

    Closes view.

    | Improve this Doc View Source

    DeleteCookies(string, string)

    Deletes cookies.

    Parameters
    Type Name Description
    string url

    Cookie URL.

    string name

    Cookie name.

    | Improve this Doc View Source

    DeleteDomainCookies(string)

    Deletes all cookies from specified domain.

    Parameters
    Type Name Description
    string domain

    Cookie domain.

    | Improve this Doc View Source

    DeleteDomainCookiesRegex(string)

    Deletes all cookies from domains matching specified regular expression.

    Parameters
    Type Name Description
    string domainRegex
    | Improve this Doc View Source

    EvaluateScriptAsync(string)

    Evaluates JavaScript script in the browser instance.

    Parameters
    Type Name Description
    string script
    Returns
    Type Description
    System.Threading.Tasks.Task<TResult>JavaScriptEvaluationResult
    | Improve this Doc View Source

    GetCookies()

    Gets all cookies.

    Returns
    Type Description
    System.Collections.Generic.List<T>HttpCookie

    List of cookies.

    | Improve this Doc View Source

    GetCurrentAddress()

    Gets current URL address.

    Returns
    Type Description
    string

    URL address.

    | Improve this Doc View Source

    GetPageSource()

    Gets document source.

    Returns
    Type Description
    string

    Document source.

    | Improve this Doc View Source

    GetPageSourceAsync()

    Gets document source.

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult>string

    Document source task.

    | Improve this Doc View Source

    GetPageText()

    Gets page text.

    Returns
    Type Description
    string

    Page text.

    | Improve this Doc View Source

    GetPageTextAsync()

    Gets page text.

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult>string

    Page text.

    | Improve this Doc View Source

    Navigate(string)

    Navigates to url.

    Parameters
    Type Name Description
    string url

    URL to load.

    | Improve this Doc View Source

    NavigateAndWait(string)

    Navigates to url and wait for page to be loaded.

    Parameters
    Type Name Description
    string url

    URL to load.

    | Improve this Doc View Source

    Open()

    Open view.

    | Improve this Doc View Source

    OpenDialog()

    Open view as modal dialog.

    Returns
    Type Description
    bool
    | Improve this Doc View Source

    SetCookies(string, HttpCookie)

    Sets cookie data.

    Parameters
    Type Name Description
    string url

    Cookie URL.

    HttpCookie cookie

    Cookie data.

    | Improve this Doc View Source

    SetCookies(string, string, string, string, string, DateTime)

    Sets cookie data.

    Parameters
    Type Name Description
    string url

    Cookie URL.

    string domain

    Cookie domain.

    string name

    Cookie name.

    string value

    Cookie value.

    string path

    Cookie url path.

    System.DateTime expires

    Expiration date.

    Events

    | Improve this Doc View Source

    LoadingChanged

    Occurs when web view loading changes, for example when page is loaded.

    Event Type
    Type Description
    System.EventHandler<TEventArgs>WebViewLoadingChangedEventArgs
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX