public static bool GetScriptErrorsSuppressed(WebBrowser browser) { return (bool)browser.GetValue(ScriptErrorsSuppressedProperty); }
public static string GetHtml(WebBrowser d) { return (string)d.GetValue(HtmlProperty); }
public static string GetUrl(WebBrowser d) => (string)d.GetValue(UrlProperty);
/// <summary> /// Attached property getter for the SuppressScriptErrors property. /// </summary> public static bool GetSuppressScriptErrors(WebBrowser webBrowser) { return (bool)webBrowser.GetValue(SuppressScriptErrorsProperty); }
public static Stream GetWebContent(WebBrowser web_browser) { return web_browser.GetValue(WebContentProperty) as Stream; }
/// <summary> /// Gets the bind-able version of the source property. /// </summary> /// <param name="webBrowser">The web browser.</param> /// <returns>The source.</returns> public static string GetBindableSource(WebBrowser webBrowser) { return (string)webBrowser.GetValue(BindableSourceProperty); }
public static string GetHtml(WebBrowser browser) { return browser.GetValue(HtmlProperty).ToString(); }