2 writes to _childEdit
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2384
_childEdit
= new ComboBoxChildNativeWindow(this, ChildWindowType.Edit);
3170
_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)
311
new ComboBoxChildEditUiaProvider(this,
_childEdit
!.HWND);
592
&& ((
_childEdit
is not null && focus ==
_childEdit
.Handle) || (_childListBox is not null && focus == _childListBox.Handle));
1048
if (IsHandleCreated &&
_childEdit
is not null)
1050
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty);
1462
if (
_childEdit
is null)
1471
PInvokeCore.GetWindowRect(
_childEdit
, out var editRectMid);
1648
if (!DesignMode &&
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1665
if (
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1841
if (Cursor != DefaultCursor &&
_childEdit
is not null
1842
&& m.HWnd ==
_childEdit
.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT)
1880
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location)))
1903
if (
_childEdit
is not null)
1906
if (m.HWnd ==
_childEdit
.Handle)
1908
childWindow =
_childEdit
;
1956
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
1958
PInvoke.InvalidateRect(
_childEdit
, lpRect: null, bErase: false);
2364
Debug.Assert(
_childEdit
is null, "Child edit window already attached");
2367
bool ok =
_childEdit
is null && _childListBox is null;
2385
_childEdit
.AssignHandle(hwnd);
2388
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN));
2607
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ContainsNavigationKeyCode(e.KeyCode))
2725
if (
_childEdit
is not null)
2898
if (IsAccessibilityObjectCreated &&
_childEdit
is not null)
3019
else if (
_childEdit
is not null &&
_childEdit
.Handle != 0)
3024
_childEdit
,
3169
_childEdit
?.ReleaseHandle();
3225
if (!IsHandleCreated ||
_childEdit
is null)
3235
_childEdit
,
3262
_childEdit
,
3271
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3291
_childEdit
,
3305
_childEdit
,
3314
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3344
PInvoke.SHAutoComplete(
_childEdit
.HWND, (SHELL_AUTOCOMPLETE_FLAGS)AutoCompleteSource | mode);
3559
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
3561
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.WM_SETTEXT, 0, s);
3838
if (hwndChild ==
_childEdit
?.HWND && Application.IsDarkModeEnabled)
3858
if (hwndChild ==
_childEdit
?.HWND