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)
19public ToolStrip Owner => _owner; 33for (int i = 0; i < _owner.Items.Count; i++) 35if (_owner.Items[i].AllowDrop) 42if (_owner.AllowDrop || _owner.AllowItemReorder) 49_owner.DropTargetManager = null; 57return _owner.GetItemAt(_owner.PointToClient(new Point(x, y))); 64if (_owner.AllowItemReorder && e.Data is not null && e.Data.GetDataPresent(typeof(ToolStripItem))) 66_lastDropTarget = _owner.ItemReorderDropTarget; 77else if (_owner.AllowDrop) 80_lastDropTarget = _owner; 105if (_owner.AllowItemReorder && e.Data is not null && e.Data.GetDataPresent(typeof(ToolStripItem))) 107newDropTarget = _owner.ItemReorderDropTarget; 118else if (_owner.AllowDrop) 121newDropTarget = _owner; 163if (!accept || !_owner.IsHandleCreated) 176HRESULT hr = PInvoke.RegisterDragDrop(_owner, new DropTarget(this)); 224if (dragEnterArgs.DropImageType > DropImageType.Invalid && _owner is ToolStrip toolStrip && toolStrip.IsHandleCreated)