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