Exemplo n.º 1
0
		public static bool GetScriptErrorsSuppressed(WebBrowser browser)
		{
			return (bool)browser.GetValue(ScriptErrorsSuppressedProperty);
		}
 public static string GetHtml(WebBrowser d)
 {
     return (string)d.GetValue(HtmlProperty);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 5
0
 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);
 }
Exemplo n.º 7
0
 public static string GetHtml(WebBrowser browser)
 {
     return browser.GetValue(HtmlProperty).ToString();
 }