1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
22
_owner
= owner.OrThrowIfNull();
19 references to _owner
System.Windows.Forms (19)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (19)
18
public ToolStrip Owner =>
_owner
;
32
for (int i = 0; i <
_owner
.Items.Count; i++)
34
if (
_owner
.Items[i].AllowDrop)
41
if (
_owner
.AllowDrop ||
_owner
.AllowItemReorder)
48
_owner
.DropTargetManager = null;
56
return
_owner
.GetItemAt(
_owner
.PointToClient(new Point(x, y)));
63
if (
_owner
.AllowItemReorder && e.Data is not null && e.Data.GetDataPresent(typeof(ToolStripItem)))
65
_lastDropTarget =
_owner
.ItemReorderDropTarget;
76
else if (
_owner
.AllowDrop)
79
_lastDropTarget =
_owner
;
104
if (
_owner
.AllowItemReorder && e.Data is not null && e.Data.GetDataPresent(typeof(ToolStripItem)))
106
newDropTarget =
_owner
.ItemReorderDropTarget;
117
else if (
_owner
.AllowDrop)
120
newDropTarget =
_owner
;
162
if (!accept || !
_owner
.IsHandleCreated)
175
HRESULT hr = PInvoke.RegisterDragDrop(
_owner
, new DropTarget(this));
223
if (dragEnterArgs.DropImageType > DropImageType.Invalid &&
_owner
is ToolStrip toolStrip && toolStrip.IsHandleCreated)