1 write to _behavior
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ControlDesigner.TransparentBehaviorTests.cs (1)
21
_behavior
= new(_designer);
10 references to _behavior
System.Windows.Forms.Design.Tests (10)
System\Windows\Forms\Design\ControlDesigner.TransparentBehaviorTests.cs (10)
52
_behavior
.OnDragDrop(null, dragEventArgs);
54
Rectangle controlRect = GetControlRect(
_behavior
);
63
_behavior
.OnDragEnter(null, dragEventArgs);
65
Rectangle controlRect = GetControlRect(
_behavior
);
73
_behavior
.OnDragEnter(null, new DragEventArgs(null, 0, 0, 0, DragDropEffects.Copy, DragDropEffects.None));
75
_behavior
.OnDragLeave(null, EventArgs.Empty);
77
Rectangle controlRect = GetControlRect(
_behavior
);
84
_behavior
.OnDragEnter(null, new DragEventArgs(null, 0, 0, 0, DragDropEffects.Copy, DragDropEffects.None));
87
_behavior
.OnDragOver(null, dragEventArgs);
97
Exception? exception = Record.Exception(() =>
_behavior
.OnGiveFeedback(null, feedbackEventArgs));