8 references to TopLevelControlInternal
System.Windows.Forms (8)
System\Windows\Forms\Control.cs (2)
3188public Control? TopLevelControl => TopLevelControlInternal; 12693TopLevelControlInternal is { } topLevelControl && topLevelControl.RightToLeft == RightToLeft.Yes && !IsMirrored;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2913=> TopLevelControlInternal is Form parentForm && parentForm.WindowState == FormWindowState.Minimized;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
904toplevelControl = intendedControl.TopLevelControlInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
582if (control is null || control.TopLevelControlInternal is not ToolStripDropDown)
System\Windows\Forms\Form.cs (2)
5402owner = ownerControl.TopLevelControlInternal; 5601owner = ownerControl.TopLevelControlInternal;
System\Windows\Forms\ToolTip\ToolTip.cs (1)
489currentTopLevel = control.TopLevelControlInternal;