C# Class AcManager.Controls.UserControls.WebBrowserWrapper

Inheritance: IWebSomething
Show file Open project: gro-ove/actools

Public Properties

Property Type Description
DefaultUserAgent string

Public Methods

Method Description
Execute ( string js ) : object
GetImageUrlAsync ( string filename ) : Task
GetUrl ( ) : string
Initialize ( ) : FrameworkElement
ModifyPage ( ) : void
Navigate ( string url ) : void
OnError ( string error, string url, int line, int column ) : void
OnLoaded ( ) : void
OnUnloaded ( ) : void
SetScriptProvider ( ScriptProviderBase provider ) : void
SetStyleProvider ( ICustomStyleProvider provider ) : void
SetUserAgent ( string userAgent ) : void

Private Methods

Method Description
IWebSomething ( string js ) : void
OnLoadCompleted ( object sender, NavigationEventArgs e ) : void
OnNavigated ( object sender, NavigationEventArgs e ) : void
OnNavigating ( object sender, NavigatingCancelEventArgs e ) : void
OnTick ( object sender, EventArgs e ) : void
WebBrowserWrapper ( ) : System

Method Details

Execute() public method

public Execute ( string js ) : object
js string
return object

GetImageUrlAsync() public method

public GetImageUrlAsync ( string filename ) : Task
filename string
return Task

GetUrl() public method

public GetUrl ( ) : string
return string

Initialize() public method

public Initialize ( ) : FrameworkElement
return FrameworkElement

ModifyPage() public method

public ModifyPage ( ) : void
return void

Navigate() public method

public Navigate ( string url ) : void
url string
return void

OnError() public method

public OnError ( string error, string url, int line, int column ) : void
error string
url string
line int
column int
return void

OnLoaded() public method

public OnLoaded ( ) : void
return void

OnUnloaded() public method

public OnUnloaded ( ) : void
return void

SetScriptProvider() public method

public SetScriptProvider ( ScriptProviderBase provider ) : void
provider ScriptProviderBase
return void

SetStyleProvider() public method

public SetStyleProvider ( ICustomStyleProvider provider ) : void
provider ICustomStyleProvider
return void

SetUserAgent() public method

public SetUserAgent ( string userAgent ) : void
userAgent string
return void

Property Details

DefaultUserAgent public static property

public static string DefaultUserAgent
return string