50 references to NativeHtmlElement
System.Windows.Forms (50)
winforms\Managed\System\WinForms\HtmlElement.cs (50)
55
Debug.Assert(this.
NativeHtmlElement
!= null, "The element object should implement IHTMLElement");
69
UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.
NativeHtmlElement
.GetAll() as UnsafeNativeMethods.IHTMLElementCollection;
82
UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.
NativeHtmlElement
.GetChildren() as UnsafeNativeMethods.IHTMLElementCollection;
95
return ((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).CanHaveChildren();
107
UnsafeNativeMethods.IHTMLElement2 htmlElement2 = (UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
;
122
UnsafeNativeMethods.IHTMLDocument iHTMLDocument = this.
NativeHtmlElement
.GetDocument() as UnsafeNativeMethods.IHTMLDocument;
135
return !(((UnsafeNativeMethods.IHTMLElement3)this.
NativeHtmlElement
).GetDisabled());
139
((UnsafeNativeMethods.IHTMLElement3)this.
NativeHtmlElement
).SetDisabled(!value);
170
UnsafeNativeMethods.IHTMLDOMNode iHtmlDomNode = this.
NativeHtmlElement
as UnsafeNativeMethods.IHTMLDOMNode;
189
return this.
NativeHtmlElement
.GetId();
193
this.
NativeHtmlElement
.SetId(value);
206
return this.
NativeHtmlElement
.GetInnerHTML();
212
this.
NativeHtmlElement
.SetInnerHTML(value);
233
return this.
NativeHtmlElement
.GetInnerText();
239
this.
NativeHtmlElement
.SetInnerText(value);
286
UnsafeNativeMethods.IHTMLDOMNode iHtmlDomNode = this.
NativeHtmlElement
as UnsafeNativeMethods.IHTMLDOMNode;
305
return new Rectangle(this.
NativeHtmlElement
.GetOffsetLeft(), this.
NativeHtmlElement
.GetOffsetTop(),
306
this.
NativeHtmlElement
.GetOffsetWidth(), this.
NativeHtmlElement
.GetOffsetHeight());
318
UnsafeNativeMethods.IHTMLElement iHtmlElement = this.
NativeHtmlElement
.GetOffsetParent();
331
return this.
NativeHtmlElement
.GetOuterHTML();
337
this.
NativeHtmlElement
.SetOuterHTML(value);
358
return this.
NativeHtmlElement
.GetOuterText();
364
this.
NativeHtmlElement
.SetOuterText(value);
385
UnsafeNativeMethods.IHTMLElement iHtmlElement = this.
NativeHtmlElement
.GetParentElement();
400
UnsafeNativeMethods.IHTMLElement2 htmlElement2 = (UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
;
414
return ((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).GetScrollLeft();
418
((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).SetScrollLeft(value);
430
return ((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).GetScrollTop();
434
((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).SetScrollTop(value);
454
return this.
NativeHtmlElement
.GetStyle().GetCssText();
458
this.
NativeHtmlElement
.GetStyle().SetCssText(value);
470
return this.
NativeHtmlElement
.GetTagName();
482
return ((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).GetTabIndex();
486
((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).SetTabIndex(value);
499
return this.
NativeHtmlElement
;
540
((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).Focus();
559
object oAttributeValue = this.
NativeHtmlElement
.GetAttribute(attributeName, 0);
569
UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = ((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).GetElementsByTagName(tagName);
578
UnsafeNativeMethods.IHTMLElement iHtmlElement = ((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).InsertAdjacentElement(orient.ToString(),
603
UnsafeNativeMethods.IDispatch scriptObject = this.
NativeHtmlElement
as UnsafeNativeMethods.IDispatch;
660
((UnsafeNativeMethods.IHTMLElement2)this.
NativeHtmlElement
).Blur();
671
((UnsafeNativeMethods.IHTMLElement3)this.
NativeHtmlElement
).FireEvent(eventName, IntPtr.Zero);
681
this.
NativeHtmlElement
.ScrollIntoView((object)alignWithTop);
692
this.
NativeHtmlElement
.SetAttribute(attributeName, (object)value, 0);
1441
get { return htmlElement.
NativeHtmlElement
; }
1510
Marshal.FinalReleaseComObject(htmlElement.
NativeHtmlElement
);
1544
leftPtr = Marshal.GetIUnknownForObject(left.
NativeHtmlElement
);
1545
rightPtr = Marshal.GetIUnknownForObject(right.
NativeHtmlElement
);