2 writes to _ownerItem
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
51
internal 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;
605
get =>
_ownerItem
;
608
if (
_ownerItem
!= value)
619
if (
_ownerItem
is not null && RightToLeftInherited && startRightToLeft != RightToLeft)
639
if (
_ownerItem
is not null)
641
ToolStrip? owner =
_ownerItem
.ParentInternal;
648
if (
_ownerItem
.Placement == ToolStripItemPlacement.Overflow &&
_ownerItem
.Owner is not null)
650
return
_ownerItem
.Owner.OverflowButton.DropDown;
655
return
_ownerItem
.Owner;
993
screenPoint =
_ownerItem
is ToolStripDropDownItem dropDownItem
1005
parentClientPoint = (
_ownerItem
is ToolStripDropDownItem dropDownItem) && (ParentInternal is not null)