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