C# Class WinRTXamlToolkit.Controls.Extensions.WebViewExtensions

Extension methods for WebView control.
显示文件 Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
GetAddressAsync ( this webView ) : Task

Gets the address of the current page.

GetFavIconLink ( this webView ) : Task

Gets the fav icon URI.

GetHeadAsync ( this webView ) : Task

Gets the HTML head inner string of the current page.

GetTitleAsync ( this webView ) : Task

Gets the title of the currently displayed page.

Private Methods

Method Description
GetTagAttributeBySpecificAttribute ( string htmlFragment, string tagName, string testAttributeName, string testAttributeValue, string attributeToGet ) : string

Gets the tag attribute value for specific other attribute name and value.

Method Details

GetAddressAsync() public static method

Gets the address of the current page.
public static GetAddressAsync ( this webView ) : Task
webView this The web view.
return Task

GetFavIconLink() public static method

Gets the fav icon URI.
public static GetFavIconLink ( this webView ) : Task
webView this The web view.
return Task

GetHeadAsync() public static method

Gets the HTML head inner string of the current page.
public static GetHeadAsync ( this webView ) : Task
webView this The web view.
return Task

GetTitleAsync() public static method

Gets the title of the currently displayed page.
public static GetTitleAsync ( this webView ) : Task
webView this The web view.
return Task