35 references to NativeHtmlElement
System.Windows.Forms (35)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (31)
52Debug.Assert(NativeHtmlElement is not null, "The element object should implement IHTMLElement"); 63using var htmlElement = NativeHtmlElement.GetInterface(); 77using var htmlElement = NativeHtmlElement.GetInterface(); 120using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 169using var htmlElement = NativeHtmlElement.GetInterface(); 190using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 197using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 207using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 216using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 236using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 245using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 274using var htmlElement = NativeHtmlElement.GetInterface(); 285using var htmlElement = NativeHtmlElement.GetInterface(); 306using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 325using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 336using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 345using var nativeHtmlElement = NativeHtmlElement.GetInterface(); 365using var htmlElement = NativeHtmlElement.GetInterface(); 374using var htmlElement = NativeHtmlElement.GetInterface(); 394using var htmlElement = NativeHtmlElement.GetInterface(); 458using var htmlElement = NativeHtmlElement.GetInterface(); 467using var htmlElement = NativeHtmlElement.GetInterface(); 479using var htmlElement = NativeHtmlElement.GetInterface(); 502public object DomElement => NativeHtmlElement.GetManagedObject(); 540using var htmlElement = NativeHtmlElement.GetInterface(); 562using var htmlElement = NativeHtmlElement.GetInterface(); 575using var htmlElement = NativeHtmlElement.GetInterface(); 654using var htmlElement = NativeHtmlElement.GetInterface(); 663using var htmlElement = NativeHtmlElement.GetInterface(); 815return left.NativeHtmlElement.IsSameNativeObject(right.NativeHtmlElement);
System\Windows\Forms\Controls\WebBrowser\HtmlElement.HtmlElementShim.cs (2)
68public IHTMLElement.Interface NativeHtmlElement => (IHTMLElement.Interface)_htmlElement.NativeHtmlElement.GetManagedObject(); 145element?.NativeHtmlElement.Dispose();
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (2)
84ObjectDisposedException.ThrowIf(element.NativeHtmlElement.IsDisposed, element); 124if (_htmlElementShims is null || element.NativeHtmlElement.IsDisposed)