1 write to RichTextBoxDropTarget
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
906
RichTextBoxDropTarget
= new RichTextBox();
30 references to RichTextBoxDropTarget
System.Windows.Forms.UI.IntegrationTests (30)
DragDropTests.cs (30)
192
Rectangle endRect = dragDropForm.
RichTextBoxDropTarget
.ClientRectangle;
193
Point endCoordinates = dragDropForm.
RichTextBoxDropTarget
.PointToScreen(GetCenter(endRect));
215
Assert.NotNull(dragDropForm.
RichTextBoxDropTarget
);
218
TestOutputHelper.WriteLine($"RichTextBoxDropTarget.Rtf: {dragDropForm.
RichTextBoxDropTarget
.Rtf}");
219
Assert.False(string.IsNullOrWhiteSpace(dragDropForm.
RichTextBoxDropTarget
.Rtf),
220
$"Actual form.RichTextBoxDropTarget.Rtf: {dragDropForm.
RichTextBoxDropTarget
.Rtf}");
223
TestOutputHelper.WriteLine($"RichTextBoxDropTarget.Text: {dragDropForm.
RichTextBoxDropTarget
.Text}");
224
Assert.False(string.IsNullOrWhiteSpace(dragDropForm.
RichTextBoxDropTarget
.Text),
225
$"Actual form.RichTextBoxDropTarget.Text: {dragDropForm.
RichTextBoxDropTarget
.Text}");
227
Assert.Equal(dragAcceptRtfContent, dragDropForm.
RichTextBoxDropTarget
?.Rtf);
228
Assert.Equal(dragAcceptRtfTextContent, dragDropForm.
RichTextBoxDropTarget
?.Text);
441
Assert.NotNull(form.
RichTextBoxDropTarget
);
442
Assert.False(string.IsNullOrWhiteSpace(form.
RichTextBoxDropTarget
.Rtf));
443
Assert.False(string.IsNullOrWhiteSpace(form.
RichTextBoxDropTarget
.Text));
444
Assert.Equal(dragAcceptRtfContent, form.
RichTextBoxDropTarget
?.Rtf);
445
Assert.Equal(dragAcceptRtfTextContent, form.
RichTextBoxDropTarget
?.Text);
484
Assert.NotNull(form.
RichTextBoxDropTarget
);
485
Assert.False(string.IsNullOrWhiteSpace(form.
RichTextBoxDropTarget
.Rtf));
486
Assert.False(string.IsNullOrWhiteSpace(form.
RichTextBoxDropTarget
.Text));
487
Assert.Equal(dragAcceptRtfContent, form.
RichTextBoxDropTarget
?.Rtf);
488
Assert.Equal(dragAcceptRtfTextContent, form.
RichTextBoxDropTarget
?.Text);
920
RichTextBoxDropTarget
.AllowDrop = true;
921
RichTextBoxDropTarget
.EnableAutoDragDrop = true;
922
RichTextBoxDropTarget
.Location = new Point(145, 45);
923
RichTextBoxDropTarget
.Size = new Size(125, 119);
924
RichTextBoxDropTarget
.DragEnter += RichTextBoxDropTarget_DragEnter;
925
RichTextBoxDropTarget
.DragDrop += RichTextBoxDropTarget_DragDrop;
935
RichTextBoxDropTarget
1054
RichTextBoxDropTarget
.Clear();
1055
RichTextBoxDropTarget
.LoadFile(fileNames[0], RichTextBoxStreamType.RichText);