46 references to NativeHtmlDocument2
System.Windows.Forms (46)
winforms\Managed\System\WinForms\HtmlDocument.cs (46)
48Debug.Assert(this.NativeHtmlDocument2 != null, "The document should implement IHtmlDocument2"); 96UnsafeNativeMethods.IHTMLElement iHtmlElement = this.NativeHtmlDocument2.GetActiveElement(); 109UnsafeNativeMethods.IHTMLElement iHtmlElement = this.NativeHtmlDocument2.GetBody(); 122return this.NativeHtmlDocument2.GetDomain(); 128this.NativeHtmlDocument2.SetDomain(value); 146return this.NativeHtmlDocument2.GetTitle(); 150this.NativeHtmlDocument2.SetTitle(value); 162UnsafeNativeMethods.IHTMLLocation iHtmlLocation = this.NativeHtmlDocument2.GetLocation(); 176UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.NativeHtmlDocument2.GetParentWindow(); 192c = this.ColorFromObject(this.NativeHtmlDocument2.GetBgColor()); 206this.NativeHtmlDocument2.SetBgColor(color); 221c = this.ColorFromObject(this.NativeHtmlDocument2.GetFgColor()); 235this.NativeHtmlDocument2.SetFgColor(color); 250c = this.ColorFromObject(this.NativeHtmlDocument2.GetLinkColor()); 264this.NativeHtmlDocument2.SetLinkColor(color); 279c = this.ColorFromObject(this.NativeHtmlDocument2.GetAlinkColor()); 293this.NativeHtmlDocument2.SetAlinkColor(color); 308c = this.ColorFromObject(this.NativeHtmlDocument2.GetVlinkColor()); 322this.NativeHtmlDocument2.SetVlinkColor(color); 334return ((UnsafeNativeMethods.IHTMLDocument4)this.NativeHtmlDocument2).HasFocus(); 346return this.NativeHtmlDocument2; 358return this.NativeHtmlDocument2.GetCookie(); 362this.NativeHtmlDocument2.SetCookie(value); 374return ((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).GetDir() == "rtl"; 378((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).SetDir(value ? "rtl" : "ltr"); 389return this.NativeHtmlDocument2.GetCharset(); 393this.NativeHtmlDocument2.SetCharset(value); 404return this.NativeHtmlDocument2.GetDefaultCharset(); 416UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlDocument2.GetAll(); 429UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlDocument2.GetLinks(); 442UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlDocument2.GetImages(); 455UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlDocument2.GetForms(); 467this.NativeHtmlDocument2.Write(strs); 475this.NativeHtmlDocument2.ExecCommand(command, showUI, value); 485((UnsafeNativeMethods.IHTMLDocument4)this.NativeHtmlDocument2).Focus(); 487((UnsafeNativeMethods.IHTMLDocument4)this.NativeHtmlDocument2).Focus(); 496UnsafeNativeMethods.IHTMLElement iHTMLElement = ((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).GetElementById(id); 506UnsafeNativeMethods.IHTMLElement iHTMLElement = this.NativeHtmlDocument2.ElementFromPoint(point.X, point.Y); 516UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = ((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).GetElementsByTagName(tagName); 528object ohtmlDocument = this.NativeHtmlDocument2.Open("text/html", name, nullObject, nullObject); 539UnsafeNativeMethods.IHTMLElement iHTMLElement = this.NativeHtmlDocument2.CreateElement(elementTag); 554UnsafeNativeMethods.IDispatch scriptObject = this.NativeHtmlDocument2.GetScript() as UnsafeNativeMethods.IDispatch; 915get { return htmlDocument.NativeHtmlDocument2; } 984Marshal.FinalReleaseComObject(htmlDocument.NativeHtmlDocument2); 1211leftPtr = Marshal.GetIUnknownForObject(left.NativeHtmlDocument2); 1212rightPtr = Marshal.GetIUnknownForObject(right.NativeHtmlDocument2);