14 writes to DocumentText
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
838DocumentText = text; 865DocumentText = text;
System.Windows.Forms.Tests (12)
System\Windows\Forms\WebBrowserTests.cs (12)
690DocumentText = value 698control.DocumentText = value; 715control.DocumentText = value; 722control.DocumentText = value; 789await Task.Run(() => control.DocumentText = Html); 803await Task.Run(() => control.DocumentText = Html); 816control.DocumentText = null; 822control.DocumentText = string.Empty; 837Assert.Throws<ObjectDisposedException>(() => control.DocumentText = null); 849Assert.Throws<InvalidOperationException>(() => control.DocumentText = null); 4026await Task.Run(() => control.DocumentText = Html); 4175await Task.Run(() => control.DocumentText = Html);
21 references to DocumentText
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
836string text = DocumentText; 863string text = DocumentText;
System.Windows.Forms.Tests (19)
System\Windows\Forms\WebBrowserTests.cs (19)
582Assert.Equal(Html, control.DocumentText); 588Assert.Equal(Html, control.DocumentText); 620Assert.Empty(control.DocumentText); 634Assert.Empty(control.DocumentText); 655string documentText = control.DocumentText; 656Assert.Equal(documentText, control.DocumentText); 657Assert.NotSame(documentText, control.DocumentText); 669Assert.Throws<ObjectDisposedException>(() => control.DocumentText); 681Assert.Throws<InvalidOperationException>(() => control.DocumentText); 692Assert.NotEmpty(control.DocumentText); 693Assert.DoesNotContain('\0', control.DocumentText); 699Assert.NotEmpty(control.DocumentText); 700Assert.DoesNotContain('\0', control.DocumentText); 716Assert.NotEmpty(control.DocumentText); 717Assert.DoesNotContain('\0', control.DocumentText); 723Assert.NotEmpty(control.DocumentText); 724Assert.DoesNotContain('\0', control.DocumentText); 818Assert.Equal(Html, control.DocumentText); 824Assert.Equal(Html, control.DocumentText);