1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
23
_owner
= owner.OrThrowIfNull();
19 references to _owner
System.Windows.Forms (19)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (19)
19
public ToolStrip Owner =>
_owner
;
33
for (int i = 0; i <
_owner
.Items.Count; i++)
35
if (
_owner
.Items[i].AllowDrop)
42
if (
_owner
.AllowDrop ||
_owner
.AllowItemReorder)
49
_owner
.DropTargetManager = null;
57
return
_owner
.GetItemAt(
_owner
.PointToClient(new Point(x, y)));
64
if (
_owner
.AllowItemReorder && e.Data is not null && e.Data.GetDataPresent(typeof(ToolStripItem)))
66
_lastDropTarget =
_owner
.ItemReorderDropTarget;
77
else if (
_owner
.AllowDrop)
80
_lastDropTarget =
_owner
;
105
if (
_owner
.AllowItemReorder && e.Data is not null && e.Data.GetDataPresent(typeof(ToolStripItem)))
107
newDropTarget =
_owner
.ItemReorderDropTarget;
118
else if (
_owner
.AllowDrop)
121
newDropTarget =
_owner
;
163
if (!accept || !
_owner
.IsHandleCreated)
176
HRESULT hr = PInvoke.RegisterDragDrop(
_owner
, new DropTarget(this));
224
if (dragEnterArgs.DropImageType > DropImageType.Invalid &&
_owner
is ToolStrip toolStrip && toolStrip.IsHandleCreated)