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)
18public ToolStrip Owner => _owner; 32for (int i = 0; i < _owner.Items.Count; i++) 34if (_owner.Items[i].AllowDrop) 41if (_owner.AllowDrop || _owner.AllowItemReorder) 48_owner.DropTargetManager = null; 56return _owner.GetItemAt(_owner.PointToClient(new Point(x, y))); 63if (_owner.AllowItemReorder && e.Data is not null && e.Data.GetDataPresent(typeof(ToolStripItem))) 65_lastDropTarget = _owner.ItemReorderDropTarget; 76else if (_owner.AllowDrop) 79_lastDropTarget = _owner; 104if (_owner.AllowItemReorder && e.Data is not null && e.Data.GetDataPresent(typeof(ToolStripItem))) 106newDropTarget = _owner.ItemReorderDropTarget; 117else if (_owner.AllowDrop) 120newDropTarget = _owner; 162if (!accept || !_owner.IsHandleCreated) 175HRESULT hr = PInvoke.RegisterDragDrop(_owner, new DropTarget(this)); 223if (dragEnterArgs.DropImageType > DropImageType.Invalid && _owner is ToolStrip toolStrip && toolStrip.IsHandleCreated)