2 writes to _currentControl
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
568_currentControl = null; 583_currentControl = control;
13 references to _currentControl
System.Windows.Forms (13)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (13)
176public Control? Component => _currentControl; 248public bool GetUsed() => _currentControl is not null; 252if (_currentControl is not null && Visible) 254_currentControl.Focus(); 291if (_currentControl is null || _resizing) 297Size newSize = new(2 * DropDownHolderBorder + _currentControl.Width, 2 * DropDownHolderBorder + _currentControl.Height); 564if (_currentControl is not null) 566_currentControl.Resize -= OnCurrentControlResize; 567Controls.Remove(_currentControl); 587if (_currentControl is GridViewListBox listBox) 657_currentControl.Resize += OnCurrentControlResize; 659Enabled = _currentControl is not null;