29 references to HtmlElementInsertionOrientation
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (2)
499
return InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeEnd, newElement);
550
public HtmlElement? InsertAdjacentElement(
HtmlElementInsertionOrientation
orientation, HtmlElement newElement)
System.Windows.Forms.Tests (27)
System\Windows\Forms\HtmlElementTests.cs (27)
1999
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeBegin, newElement1);
2005
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeBegin, newElement2);
2012
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeBegin, newElement3);
2037
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeBegin, newElement1);
2045
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeBegin, newElement2);
2054
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeBegin, newElement3);
2081
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeEnd, newElement1);
2087
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeEnd, newElement2);
2094
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeEnd, newElement3);
2119
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeEnd, newElement1);
2127
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeEnd, newElement2);
2136
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeEnd, newElement3);
2163
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterBegin, newElement1);
2167
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterBegin, newElement2);
2174
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterBegin, newElement3);
2199
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterBegin, newElement1);
2207
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterBegin, newElement2);
2216
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterBegin, newElement3);
2243
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterEnd, newElement1);
2248
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterEnd, newElement2);
2254
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterEnd, newElement3);
2278
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterEnd, newElement1);
2286
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterEnd, newElement2);
2295
element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.AfterEnd, newElement3);
2318
Assert.Throws<NullReferenceException>(() => element.InsertAdjacentElement(
HtmlElementInsertionOrientation
.BeforeEnd, null));
2322
[InvalidEnumData<
HtmlElementInsertionOrientation
>]
2323
public async Task HtmlElement_InsertAdjacentElement_InvalidOrient_ThrowsArgumentException(
HtmlElementInsertionOrientation
orient)