14 writes to DocumentText
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
836DocumentText = text; 863DocumentText = text;
System.Windows.Forms.Tests (12)
System\Windows\Forms\WebBrowserTests.cs (12)
688DocumentText = value 696control.DocumentText = value; 713control.DocumentText = value; 720control.DocumentText = value; 787await Task.Run(() => control.DocumentText = Html); 801await Task.Run(() => control.DocumentText = Html); 814control.DocumentText = null; 820control.DocumentText = string.Empty; 835Assert.Throws<ObjectDisposedException>(() => control.DocumentText = null); 847Assert.Throws<InvalidOperationException>(() => control.DocumentText = null); 4024await Task.Run(() => control.DocumentText = Html); 4173await Task.Run(() => control.DocumentText = Html);
21 references to DocumentText
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
834string text = DocumentText; 861string text = DocumentText;
System.Windows.Forms.Tests (19)
System\Windows\Forms\WebBrowserTests.cs (19)
580Assert.Equal(Html, control.DocumentText); 586Assert.Equal(Html, control.DocumentText); 618Assert.Empty(control.DocumentText); 632Assert.Empty(control.DocumentText); 653string documentText = control.DocumentText; 654Assert.Equal(documentText, control.DocumentText); 655Assert.NotSame(documentText, control.DocumentText); 667Assert.Throws<ObjectDisposedException>(() => control.DocumentText); 679Assert.Throws<InvalidOperationException>(() => control.DocumentText); 690Assert.NotEmpty(control.DocumentText); 691Assert.DoesNotContain('\0', control.DocumentText); 697Assert.NotEmpty(control.DocumentText); 698Assert.DoesNotContain('\0', control.DocumentText); 714Assert.NotEmpty(control.DocumentText); 715Assert.DoesNotContain('\0', control.DocumentText); 721Assert.NotEmpty(control.DocumentText); 722Assert.DoesNotContain('\0', control.DocumentText); 816Assert.Equal(Html, control.DocumentText); 822Assert.Equal(Html, control.DocumentText);