2 writes to _dropDown
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
98_dropDown = value; 372_dropDown = null;
56 references to _dropDown
System.Windows.Forms (56)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (56)
65if (_dropDown is null) 70_dropDown!.SetAutoGeneratedInternal(true); 75_dropDown!.ShowItemToolTips = ParentInternal.ShowItemToolTips; 79return _dropDown!; 83if (_dropDown != value) 85if (_dropDown is not null) 89KeyboardToolTipStateMachine.Instance.Unhook(_dropDown, _hookedKeyboardTooltip); 92_dropDown.Opened -= DropDown_Opened; 93_dropDown.Closed -= DropDown_Closed; 94_dropDown.ItemClicked -= DropDown_ItemClicked; 95_dropDown.UnassignDropDownItem(); 99if (_dropDown is not null) 103KeyboardToolTipStateMachine.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; 273if (_dropDown is not null) 357if (_dropDown is not null) 361KeyboardToolTipStateMachine.Instance.Unhook(_dropDown, _hookedKeyboardTooltip); 364_dropDown.Opened -= DropDown_Opened; 365_dropDown.Closed -= DropDown_Closed; 366_dropDown.ItemClicked -= DropDown_ItemClicked; 368if (disposing && _dropDown.IsAutoGenerated) 371_dropDown.Dispose(); 416if (_dropDown is not null && _dropDown.Visible) 428_dropDown?.OnOwnerItemFontChanged(EventArgs.Empty); 435if (_dropDown is not null && _dropDown.Visible) 437_dropDown.Bounds = GetDropDownBounds(DropDownDirection); 642_dropDown?.ReleaseUiaProvider(HWND.Null); 686if (_dropDown is ToolStripDropDownMenu menu) 699if (_dropDown is null || (!_dropDown.Visible)) 708if (_dropDown is not null && !_dropDown.Visible) 710if (_dropDown.IsAutoGenerated && DropDownItems.Count <= 0) 720_dropDown.OwnerItem = this; 721_dropDown.Location = DropDownLocation; 722_dropDown.Show(); 734=> _dropDown is not null && !_dropDown.IsAutoGenerated; 740=> _dropDown is not null && _dropDown.IsAutoGenerated; 746if (_dropDown is not null) 748KeyboardToolTipStateMachine.Instance.Hook(_dropDown, toolTip); 756if (_dropDown is not null) 758KeyboardToolTipStateMachine.Instance.Unhook(_dropDown, toolTip); 776if (item._dropDown is not null) 780item._dropDown.DeviceDpiInternal = newDpi; 781item._dropDown.ResetScaling(newDpi); 800if (((ToolStripDropDownItem)childItem)._dropDown is not null)