5 writes to _activeControl
System.Windows.Forms (5)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (5)
544
_activeControl
= value;
594
_activeControl
= null;
1608
innerMostFCC.
_activeControl
= null;
1623
containerControl.
_activeControl
= null;
1983
_activeControl
= null;
40 references to _activeControl
System.Windows.Forms (40)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (40)
284
get =>
_activeControl
;
409
if (control !=
_activeControl
|| updateContainerActiveControl)
468
if (control ==
_activeControl
|| control.Contains(
_activeControl
))
471
if (selected &&
_activeControl
!= control)
476
if (
_activeControl
?.Parent is not null && !
_activeControl
.Parent.IsTopMdiWindowClosing)
486
else if (
_activeControl
is null && ParentInternal is not null)
538
if (
_activeControl
!= value)
552
if (
_activeControl
== value)
560
_focusedControl =
_activeControl
;
563
return
_activeControl
== value;
621
Debug.WriteLineIf(
_activeControl
is not null
622
&& !Contains(
_activeControl
), "ActiveControl is not a child of this ContainerControl");
624
if (
_activeControl
is not null &&
_activeControl
.Visible)
628
if (focusHandle.IsNull || FromChildHandle(focusHandle) !=
_activeControl
)
630
PInvoke.SetFocus(
_activeControl
);
1167
if (
_activeControl
is not null)
1169
group =
_activeControl
.ParentInternal;
1172
return group?.SelectNextControl(
_activeControl
, forward, false, false, true) ?? false;
1324
return SelectNextControl(
_activeControl
, forward, tabStopOnly: true, nested: true, wrap: false);
1340
Control? last =
_activeControl
;
1347
scrollParent.ScrollControlIntoView(
_activeControl
);
1459
if (
_activeControl
== value && (value is null || value.Focused))
1548
while (
_activeControl
!= pathControl)
1550
if (pathControl is null || pathControl.IsDescendant(
_activeControl
))
1553
Control? nextControlDown =
_activeControl
;
1661
while (pathControl is not null && pathControl != stopControl && !pathControl.IsDescendant(
_activeControl
));
1672
_focusedControl =
_activeControl
;
1673
if (
_activeControl
is not null)
1675
EnterValidation(
_activeControl
);
1720
else if (container.
_activeControl
is not null && container.
_activeControl
.ShouldAutoValidate)
1722
_unvalidatedControl = container.
_activeControl
;
1801
(
_activeControl
is not null &&
_activeControl
.CausesValidation))
1895
Control? currentActiveControl =
_activeControl
;
1931
if (currentActiveControl ==
_activeControl
)
1978
if (
_activeControl
is ContainerControl activeContainerControl)