15 instantiations of HtmlElement
System.Windows.Forms (15)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (5)
82return iHtmlElement is not null ? new HtmlElement(ShimManager, iHtmlElement) : null; 93return iHtmlElement is not null ? new HtmlElement(ShimManager, iHtmlElement) : null; 454return iHTMLElement is not null ? new HtmlElement(ShimManager, iHTMLElement) : null; 462return iHTMLElement is not null ? new HtmlElement(ShimManager, iHTMLElement) : null; 497return iHTMLElement is not null ? new HtmlElement(ShimManager, iHTMLElement) : null;
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (5)
182return iHtmlElement is not null ? new HtmlElement(_shimManager, iHtmlElement) : null; 298return iHtmlElement is not null ? new HtmlElement(_shimManager, iHtmlElement) : null; 328return iHtmlElement is not null ? new HtmlElement(_shimManager, iHtmlElement) : null; 397return iHtmlElement is not null ? new HtmlElement(_shimManager, iHtmlElement) : null; 565return adjElement is not null ? new HtmlElement(_shimManager, adjElement) : null;
System\Windows\Forms\Controls\WebBrowser\HtmlElementCollection.cs (2)
61? new HtmlElement(_shimManager, htmlElement) 81? new(_shimManager, htmlElement)
System\Windows\Forms\Controls\WebBrowser\HtmlElementEventArgs.cs (2)
108return htmlElement is null ? null : new HtmlElement(_shimManager, ComHelpers.GetComPointer<IHTMLElement>(htmlElement)); 119return htmlElement is null ? null : new HtmlElement(_shimManager, ComHelpers.GetComPointer<IHTMLElement>(htmlElement));
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (1)
250? new HtmlElement(ShimManager, htmlElement)
51 references to HtmlElement
System.Windows.Forms (51)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (5)
75public HtmlElement? ActiveElement 86public HtmlElement? Body 448public HtmlElement? GetElementById(string id) 457public HtmlElement? GetElementFromPoint(Point point) 491public HtmlElement? CreateElement(string elementTag)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (13)
164public HtmlElement? FirstChild 280public HtmlElement? NextSibling 321public HtmlElement? OffsetParent 390public HtmlElement? Parent 504public HtmlElement? AppendChild(HtmlElement newElement) 557public HtmlElement? InsertAdjacentElement(HtmlElementInsertionOrientation orientation, HtmlElement newElement) 801public static unsafe bool operator ==(HtmlElement? left, HtmlElement? right) 817public static bool operator !=(HtmlElement? left, HtmlElement? right) => !(left == right); 821public override bool Equals(object? obj) => this == (obj as HtmlElement);
System\Windows\Forms\Controls\WebBrowser\HtmlElement.HTMLElementEvents2.cs (2)
38private readonly HtmlElement _parent; 40public HTMLElementEvents2(HtmlElement htmlElement)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.HtmlElementShim.cs (3)
48private HtmlElement _htmlElement; 50public HtmlElementShim(HtmlElement element) 70internal HtmlElement Element => _htmlElement;
System\Windows\Forms\Controls\WebBrowser\HtmlElementCollection.cs (12)
14private readonly HtmlElement[]? _elementsArray; 37internal HtmlElementCollection(HtmlShimManager shimManager, HtmlElement[] array) 46public HtmlElement? this[int index] 69public HtmlElement? this[string elementId] 89HtmlElement element = _elementsArray[i]; 108HtmlElement[] temp = new HtmlElement[count]; // count is the maximum # of matches 113HtmlElement element = this[i]!; 127HtmlElement[] elements = new HtmlElement[tempIndex]; 171HtmlElement[] htmlElements = new HtmlElement[Count];
System\Windows\Forms\Controls\WebBrowser\HtmlElementEventArgs.cs (2)
103public unsafe HtmlElement? FromElement 114public unsafe HtmlElement? ToElement
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (13)
18private Dictionary<HtmlElement, HtmlElement.HtmlElementShim>? _htmlElementShims; 79public void AddElementShim(HtmlElement element) 81HtmlElement.HtmlElementShim? shim = null; 86shim = new HtmlElement.HtmlElementShim(element); 91shim = new HtmlElement.HtmlElementShim(element); 116internal HtmlElement.HtmlElementShim? GetElementShim(HtmlElement element) 123if (_htmlElementShims.TryGetValue(element, out HtmlElement.HtmlElementShim? elementShim)) 191HtmlElement.HtmlElementShim[] shims = new HtmlElement.HtmlElementShim[_htmlElementShims.Count]; 194foreach (HtmlElement.HtmlElementShim shim in shims) 226foreach (HtmlElement.HtmlElementShim shim in _htmlElementShims.Values)
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (1)
241public HtmlElement? WindowFrameElement