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)
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) 355if (_dropDown is not null) 359KeyboardToolTipStateMachine.Instance.Unhook(_dropDown, _hookedKeyboardTooltip); 362_dropDown.Opened -= DropDown_Opened; 363_dropDown.Closed -= DropDown_Closed; 364_dropDown.ItemClicked -= DropDown_ItemClicked; 366if (disposing && _dropDown.IsAutoGenerated) 369_dropDown.Dispose(); 414if (_dropDown is not null && _dropDown.Visible) 426_dropDown?.OnOwnerItemFontChanged(EventArgs.Empty); 433if (_dropDown is not null && _dropDown.Visible) 435_dropDown.Bounds = GetDropDownBounds(DropDownDirection); 640_dropDown?.ReleaseUiaProvider(HWND.Null); 684if (_dropDown is ToolStripDropDownMenu menu) 697if (_dropDown is null || (!_dropDown.Visible)) 706if (_dropDown is not null && !_dropDown.Visible) 708if (_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; 744if (_dropDown is not null) 746KeyboardToolTipStateMachine.Instance.Hook(_dropDown, toolTip); 754if (_dropDown is not null) 756KeyboardToolTipStateMachine.Instance.Unhook(_dropDown, toolTip); 774if (item._dropDown is not null) 778item._dropDown._deviceDpi = newDpi; 779item._dropDown.ResetScaling(newDpi); 798if (((ToolStripDropDownItem)childItem)._dropDown is not null)