2 writes to _dropDownHolder
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
967_dropDownHolder = null; 1413_dropDownHolder ??= new(this);
39 references to _dropDownHolder
System.Windows.Forms (39)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (39)
343internal DropDownHolder? DropDownControlHolder => _dropDownHolder; 346internal bool DropDownVisible => _dropDownHolder is not null && _dropDownHolder.Visible; 747if (_flags.HasFlag(Flags.DropDownClosing) || _dropDownHolder is null || !_dropDownHolder.Visible) 756if (_dropDownHolder.Component == DropDownListBox && _flags.HasFlag(Flags.DropDownCommit)) 764_dropDownHolder.SetDropDownControl(control: null, resizable: false); 765_dropDownHolder.Visible = false; 963_dropDownHolder?.Dispose(); 1414_dropDownHolder.Visible = false; 1415_dropDownHolder.SetDropDownControl(control, _flags.HasFlag(Flags.ResizableDropDown)); 1418Size size = _dropDownHolder.Size; 1431_dropDownHolder.ResizeUp = true; 1436_dropDownHolder.ResizeUp = false; 1453PInvokeCore.SetWindowLong(_dropDownHolder, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT, this); 1454_dropDownHolder.SetBounds(location.X, location.Y, size.Width, size.Height); 1455PInvoke.ShowWindow(_dropDownHolder, SHOW_WINDOW_CMD.SW_SHOWNA); 1457_dropDownHolder.Visible = true; 1458_dropDownHolder.FocusComponent(); 1464_dropDownHolder.DoModalLoop(); 1480if (_dropDownHolder is not null && _dropDownHolder.GetUsed()) 1497if (_dropDownHolder?.Visible == true && m.MsgInternal == PInvokeCore.WM_KEYDOWN && (Keys)(nint)m.WParamInternal != Keys.Tab) 1499Control? control = _dropDownHolder.Component; 2536if (_dropDownHolder is not null && _dropDownHolder.Visible) 2541if (hwnd == _dropDownHolder.Handle) 2715if (keyCode == Keys.Up && altPressed && DropDownButton.Visible && (_dropDownHolder is not null) && _dropDownHolder.Visible) 2922&& _dropDownHolder is not null 2923&& _dropDownHolder.Visible 3079if (_dropDownHolder is null || _dropDownHolder.Component is null || rowMoveCurrent == _selectedRow) 3667if (_dropDownHolder is not null && _dropDownHolder.GetUsed()) 4763_dropDownHolder?.ReleaseUiaProvider(HWND.Null); 5051else if (_dropDownHolder is not null && _dropDownHolder.Visible) 5053_dropDownHolder.FocusComponent();