2 writes to _childListBox
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2289
_childListBox
= new ComboBoxChildNativeWindow(this, ChildWindowType.ListBox);
3042
_childListBox
= null;
18 references to _childListBox
System.Windows.Forms (18)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (18)
314
new ComboBoxChildListUiaProvider(this, DropDownStyle == ComboBoxStyle.Simple ?
_childListBox
!.HWND : _dropDownHandle);
534
&& ((_childEdit is not null && focus == _childEdit.Handle) || (
_childListBox
is not null && focus ==
_childListBox
.Handle));
1400
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1419
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1459
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1484
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1830
childWindow =
_childListBox
;
1873
if (
_childListBox
is not null && !
_childListBox
.HWND.IsNull)
1875
PInvoke.InvalidateRect(
_childListBox
, lpRect: null, bErase: false);
1974
return DropDownStyle == ComboBoxStyle.Simple ? new(
_childListBox
) : new(this, _dropDownHandle);
1979
return DropDownStyle == ComboBoxStyle.Simple ?
_childListBox
! : _childDropDown!;
2277
Debug.Assert(
_childListBox
is null, "Child listbox window already attached");
2279
bool ok = _childEdit is null &&
_childListBox
is null;
2290
_childListBox
.AssignHandle(hwnd);
3041
_childListBox
?.ReleaseHandle();
3684
&& hwndChild ==
_childListBox
?.HWND)