2 writes to _childListBox
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2377
_childListBox
= new ComboBoxChildNativeWindow(this, ChildWindowType.ListBox);
3173
_childListBox
= null;
21 references to _childListBox
System.Windows.Forms (21)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (18)
325
?
_childListBox
!.HWND
592
&& ((_childEdit is not null && focus == _childEdit.Handle) || (
_childListBox
is not null && focus ==
_childListBox
.Handle));
1489
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1508
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1548
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1573
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1916
childWindow =
_childListBox
;
1961
if (
_childListBox
is not null && !
_childListBox
.HWND.IsNull)
1963
PInvoke.InvalidateRect(
_childListBox
, lpRect: null, bErase: false);
2062
return DropDownStyle == ComboBoxStyle.Simple ? new(
_childListBox
) : new(this, _dropDownHandle);
2067
return DropDownStyle == ComboBoxStyle.Simple ?
_childListBox
! : _childDropDown!;
2365
Debug.Assert(
_childListBox
is null, "Child listbox window already attached");
2367
bool ok = _childEdit is null &&
_childListBox
is null;
2378
_childListBox
.AssignHandle(hwnd);
3172
_childListBox
?.ReleaseHandle();
3877
&& hwndChild ==
_childListBox
?.HWND)
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (1)
629
&& childHandle ==
_childListBox
?.HWND;
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (2)
398
|| comboBox.
_childListBox
is null)
403
Rectangle listBounds = comboBox.GetChildBounds(comboBox.
_childListBox
.HWND);