2 writes to _childEdit
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2309
_childEdit
= new ComboBoxChildNativeWindow(this, ChildWindowType.Edit);
3052
_childEdit
= null;
45 references to _childEdit
System.Windows.Forms (45)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
37
_owningChildEdit = owner.
_childEdit
!;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (44)
312
_childEditAccessibleObject ??= new ComboBoxChildEditUiaProvider(this,
_childEdit
!.HWND);
543
&& ((
_childEdit
is not null && focus ==
_childEdit
.Handle) || (_childListBox is not null && focus == _childListBox.Handle));
968
if (IsHandleCreated &&
_childEdit
is not null)
970
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty);
1382
if (
_childEdit
is null)
1391
PInvokeCore.GetWindowRect(
_childEdit
, out var editRectMid);
1568
if (!DesignMode &&
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1585
if (
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1588
_childEdit
,
1764
if (Cursor != DefaultCursor &&
_childEdit
is not null
1765
&& m.HWnd ==
_childEdit
.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT)
1803
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location)))
1826
if (
_childEdit
is not null)
1829
if (m.HWnd ==
_childEdit
.Handle)
1831
childWindow =
_childEdit
;
1881
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
1883
PInvoke.InvalidateRect(
_childEdit
, lpRect: null, bErase: false);
2289
Debug.Assert(
_childEdit
is null, "Child edit window already attached");
2292
bool ok =
_childEdit
is null && _childListBox is null;
2310
_childEdit
.AssignHandle(hwnd);
2313
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN));
2497
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ContainsNavigationKeyCode(e.KeyCode))
2615
if (
_childEdit
is not null)
2783
if (IsAccessibilityObjectCreated &&
_childEdit
is not null)
2901
else if (
_childEdit
is not null &&
_childEdit
.Handle != 0)
2906
_childEdit
,
3051
_childEdit
?.ReleaseHandle();
3107
if (!IsHandleCreated ||
_childEdit
is null)
3117
_childEdit
,
3144
_childEdit
,
3153
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3173
_childEdit
,
3187
_childEdit
,
3196
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3226
PInvoke.SHAutoComplete(
_childEdit
.HWND, (SHELL_AUTOCOMPLETE_FLAGS)AutoCompleteSource | mode);
3439
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
3441
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.WM_SETTEXT, 0, s);
3679
if (hwndChild ==
_childEdit
?.HWND && Application.IsDarkModeEnabled)