1 write to RichTextBoxDropTarget
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
963
RichTextBoxDropTarget
= new RichTextBox();
30 references to RichTextBoxDropTarget
System.Windows.Forms.UI.IntegrationTests (30)
DragDropTests.cs (30)
193
Rectangle endRect = dragDropForm.
RichTextBoxDropTarget
.ClientRectangle;
194
Point endCoordinates = dragDropForm.
RichTextBoxDropTarget
.PointToScreen(GetCenter(endRect));
216
Assert.NotNull(dragDropForm.
RichTextBoxDropTarget
);
219
TestOutputHelper.WriteLine($"RichTextBoxDropTarget.Rtf: {dragDropForm.
RichTextBoxDropTarget
.Rtf}");
220
Assert.False(string.IsNullOrWhiteSpace(dragDropForm.
RichTextBoxDropTarget
.Rtf),
221
$"Actual form.RichTextBoxDropTarget.Rtf: {dragDropForm.
RichTextBoxDropTarget
.Rtf}");
224
TestOutputHelper.WriteLine($"RichTextBoxDropTarget.Text: {dragDropForm.
RichTextBoxDropTarget
.Text}");
225
Assert.False(string.IsNullOrWhiteSpace(dragDropForm.
RichTextBoxDropTarget
.Text),
226
$"Actual form.RichTextBoxDropTarget.Text: {dragDropForm.
RichTextBoxDropTarget
.Text}");
228
Assert.Equal(dragAcceptRtfContent, dragDropForm.
RichTextBoxDropTarget
?.Rtf);
229
Assert.Equal(dragAcceptRtfTextContent, dragDropForm.
RichTextBoxDropTarget
?.Text);
443
Assert.NotNull(form.
RichTextBoxDropTarget
);
444
Assert.False(string.IsNullOrWhiteSpace(form.
RichTextBoxDropTarget
.Rtf));
445
Assert.False(string.IsNullOrWhiteSpace(form.
RichTextBoxDropTarget
.Text));
446
Assert.Equal(dragAcceptRtfContent, form.
RichTextBoxDropTarget
?.Rtf);
447
Assert.Equal(dragAcceptRtfTextContent, form.
RichTextBoxDropTarget
?.Text);
486
Assert.NotNull(form.
RichTextBoxDropTarget
);
487
Assert.False(string.IsNullOrWhiteSpace(form.
RichTextBoxDropTarget
.Rtf));
488
Assert.False(string.IsNullOrWhiteSpace(form.
RichTextBoxDropTarget
.Text));
489
Assert.Equal(dragAcceptRtfContent, form.
RichTextBoxDropTarget
?.Rtf);
490
Assert.Equal(dragAcceptRtfTextContent, form.
RichTextBoxDropTarget
?.Text);
977
RichTextBoxDropTarget
.AllowDrop = true;
978
RichTextBoxDropTarget
.EnableAutoDragDrop = true;
979
RichTextBoxDropTarget
.Location = new Point(145, 45);
980
RichTextBoxDropTarget
.Size = new Size(125, 119);
981
RichTextBoxDropTarget
.DragEnter += RichTextBoxDropTarget_DragEnter;
982
RichTextBoxDropTarget
.DragDrop += RichTextBoxDropTarget_DragDrop;
992
RichTextBoxDropTarget
1111
RichTextBoxDropTarget
.Clear();
1112
RichTextBoxDropTarget
.LoadFile(fileNames[0], RichTextBoxStreamType.RichText);