C# Class WebKit.WebKitBrowser

WebKit Browser Control.
Inheritance: System.Windows.Forms.UserControl, IWebKitBrowserHost, IWebKitBrowser
Mostra file Open project: davejohnson/webkit-dot-net Class Usage Examples

Public Properties

Property Type Description
Version System.Version

Private Properties

Property Type Description
InitializeWebKit void
WebKitBrowser_Load void
WebKitBrowser_Resize void
downloadDelegate_DecideDestinationWithSuggestedFilename void
downloadDelegate_DidBegin void
downloadDelegate_DidFailWithError void
downloadDelegate_DidFinish void
downloadDelegate_DidReceiveDataOfLength void
downloadDelegate_DidReceiveResponse void
frameLoadDelegate_DidCommitLoadForFrame void
frameLoadDelegate_DidFailLoadWithError void
frameLoadDelegate_DidFailProvisionalLoadWithError void
frameLoadDelegate_DidFinishLoadForFrame void
frameLoadDelegate_DidRecieveTitle void
frameLoadDelegate_DidStartProvisionalLoadForFrame void
uiDelegate_CreateWebViewWithRequest void

Public Methods

Method Description
GoBack ( ) : bool

Navigates to the previous page in the page history, if available.

GoForward ( ) : bool

Navigates to the next page in the page history, if available.

InvokeScript ( String name ) : void
Navigate ( string Url ) : void

Navigates to the specified Url.

Refresh ( ) : void

Refreshes the current web page.

Refresh ( WebBrowserRefreshOption Option ) : void

Refreshes the current web page.

Stop ( ) : void

Stops loading the current web page and any resources associated with it.

WebKitBrowser ( ) : System

Initializes a new instance of the WebKitBrowser control.

Protected Methods

Method Description
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Processes a command key. Overridden in WebKitBrowser to forward key events to the WebKit window.

Private Methods

Method Description
InitializeWebKit ( ) : void
WebKitBrowser_Load ( object sender, EventArgs e ) : void
WebKitBrowser_Resize ( object sender, EventArgs e ) : void
downloadDelegate_DecideDestinationWithSuggestedFilename ( WebDownload download, string fileName ) : void
downloadDelegate_DidBegin ( WebDownload download ) : void
downloadDelegate_DidFailWithError ( WebDownload download, WebError error ) : void
downloadDelegate_DidFinish ( WebDownload download ) : void
downloadDelegate_DidReceiveDataOfLength ( WebDownload download, uint length ) : void
downloadDelegate_DidReceiveResponse ( WebDownload download, WebURLResponse response ) : void
frameLoadDelegate_DidCommitLoadForFrame ( WebView WebView, IWebFrame frame ) : void
frameLoadDelegate_DidFailLoadWithError ( WebView WebView, IWebError error, IWebFrame frame ) : void
frameLoadDelegate_DidFailProvisionalLoadWithError ( WebView WebView, IWebError error, IWebFrame frame ) : void
frameLoadDelegate_DidFinishLoadForFrame ( WebView WebView, IWebFrame frame ) : void
frameLoadDelegate_DidRecieveTitle ( WebView WebView, string title, IWebFrame frame ) : void
frameLoadDelegate_DidStartProvisionalLoadForFrame ( WebView WebView, IWebFrame frame ) : void
uiDelegate_CreateWebViewWithRequest ( IWebURLRequest request, WebView &webView ) : void

Method Details

GoBack() public method

Navigates to the previous page in the page history, if available.
public GoBack ( ) : bool
return bool

GoForward() public method

Navigates to the next page in the page history, if available.
public GoForward ( ) : bool
return bool

InvokeScript() public method

public InvokeScript ( String name ) : void
name String
return void

Navigate() public method

Navigates to the specified Url.
public Navigate ( string Url ) : void
Url string Url to navigate to.
return void

ProcessCmdKey() protected method

Processes a command key. Overridden in WebKitBrowser to forward key events to the WebKit window.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message The window message to process.
keyData Keys The key to process.
return bool

Refresh() public method

Refreshes the current web page.
public Refresh ( ) : void
return void

Refresh() public method

Refreshes the current web page.
public Refresh ( WebBrowserRefreshOption Option ) : void
Option WebBrowserRefreshOption Options for refreshing the page.
return void

Stop() public method

Stops loading the current web page and any resources associated with it.
public Stop ( ) : void
return void

WebKitBrowser() public method

Initializes a new instance of the WebKitBrowser control.
public WebKitBrowser ( ) : System
return System

Property Details

Version public_oe property

Gets the current version.
public Version,System Version
return System.Version