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)
176
public Control? Component =>
_currentControl
;
248
public bool GetUsed() =>
_currentControl
is not null;
252
if (
_currentControl
is not null && Visible)
254
_currentControl
.Focus();
291
if (
_currentControl
is null || _resizing)
297
Size newSize = new(2 * DropDownHolderBorder +
_currentControl
.Width, 2 * DropDownHolderBorder +
_currentControl
.Height);
564
if (
_currentControl
is not null)
566
_currentControl
.Resize -= OnCurrentControlResize;
567
Controls.Remove(
_currentControl
);
587
if (
_currentControl
is GridViewListBox listBox)
657
_currentControl
.Resize += OnCurrentControlResize;
659
Enabled =
_currentControl
is not null;