6 references to IsDescendant
System.Windows.Forms (6)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (5)
1550
if (pathControl is null || pathControl.
IsDescendant
(_activeControl))
1661
while (pathControl is not null && pathControl != stopControl && !pathControl.
IsDescendant
(_activeControl));
1760
while (commonAncestor is not null && !commonAncestor.
IsDescendant
(_unvalidatedControl))
1887
if (!ancestorControl.
IsDescendant
(_unvalidatedControl))
1924
&& ancestorControl.
IsDescendant
(currentValidatingControl))
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
824
if (
IsDescendant
(activeControl)