2 writes to _dropDown
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
98
_dropDown
= value;
370
_dropDown
= null;
56 references to _dropDown
System.Windows.Forms (56)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (56)
65
if (
_dropDown
is null)
70
_dropDown
!.SetAutoGeneratedInternal(true);
75
_dropDown
!.ShowItemToolTips = ParentInternal.ShowItemToolTips;
79
return
_dropDown
!;
83
if (
_dropDown
!= value)
85
if (
_dropDown
is not null)
89
KeyboardToolTipStateMachine.Instance.Unhook(
_dropDown
, _hookedKeyboardTooltip);
92
_dropDown
.Opened -= DropDown_Opened;
93
_dropDown
.Closed -= DropDown_Closed;
94
_dropDown
.ItemClicked -= DropDown_ItemClicked;
95
_dropDown
.UnassignDropDownItem();
99
if (
_dropDown
is not null)
103
KeyboardToolTipStateMachine.Instance.Hook(
_dropDown
, _hookedKeyboardTooltip);
106
_dropDown
.Opened += DropDown_Opened;
107
_dropDown
.Closed += DropDown_Closed;
108
_dropDown
.ItemClicked += DropDown_ItemClicked;
109
_dropDown
.AssignToDropDownItem();
261
(
_dropDown
is not null) &&
_dropDown
.HasVisibleItems;
265
=>
_dropDown
is not null;
273
if (
_dropDown
is not null)
355
if (
_dropDown
is not null)
359
KeyboardToolTipStateMachine.Instance.Unhook(
_dropDown
, _hookedKeyboardTooltip);
362
_dropDown
.Opened -= DropDown_Opened;
363
_dropDown
.Closed -= DropDown_Closed;
364
_dropDown
.ItemClicked -= DropDown_ItemClicked;
366
if (disposing &&
_dropDown
.IsAutoGenerated)
369
_dropDown
.Dispose();
414
if (
_dropDown
is not null &&
_dropDown
.Visible)
426
_dropDown
?.OnOwnerItemFontChanged(EventArgs.Empty);
433
if (
_dropDown
is not null &&
_dropDown
.Visible)
435
_dropDown
.Bounds = GetDropDownBounds(DropDownDirection);
640
_dropDown
?.ReleaseUiaProvider(HWND.Null);
684
if (
_dropDown
is ToolStripDropDownMenu menu)
697
if (
_dropDown
is null || (!
_dropDown
.Visible))
706
if (
_dropDown
is not null && !
_dropDown
.Visible)
708
if (
_dropDown
.IsAutoGenerated && DropDownItems.Count <= 0)
718
_dropDown
.OwnerItem = this;
719
_dropDown
.Location = DropDownLocation;
720
_dropDown
.Show();
732
=>
_dropDown
is not null && !
_dropDown
.IsAutoGenerated;
738
=>
_dropDown
is not null &&
_dropDown
.IsAutoGenerated;
744
if (
_dropDown
is not null)
746
KeyboardToolTipStateMachine.Instance.Hook(
_dropDown
, toolTip);
754
if (
_dropDown
is not null)
756
KeyboardToolTipStateMachine.Instance.Unhook(
_dropDown
, toolTip);
774
if (item.
_dropDown
is not null)
778
item.
_dropDown
._deviceDpi = newDpi;
779
item.
_dropDown
.ResetScaling(newDpi);
798
if (((ToolStripDropDownItem)childItem).
_dropDown
is not null)