2 writes to _ownerItem
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
51internal ToolStripDropDown(ToolStripItem ownerItem) : this() => _ownerItem = ownerItem; 612_ownerItem = value;
13 references to _ownerItem
System.Windows.Forms (13)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (13)
305_ownerItem?.Owner is not null ? _ownerItem.Owner.DropDownOwnerWindow : base.DropDownOwnerWindow; 605get => _ownerItem; 608if (_ownerItem != value) 619if (_ownerItem is not null && RightToLeftInherited && startRightToLeft != RightToLeft) 639if (_ownerItem is not null) 641ToolStrip? owner = _ownerItem.ParentInternal; 648if (_ownerItem.Placement == ToolStripItemPlacement.Overflow && _ownerItem.Owner is not null) 650return _ownerItem.Owner.OverflowButton.DropDown; 655return _ownerItem.Owner; 993screenPoint = _ownerItem is ToolStripDropDownItem dropDownItem 1005parentClientPoint = (_ownerItem is ToolStripDropDownItem dropDownItem) && (ParentInternal is not null)