14 references to Modal
System.Windows.Forms (12)
System\Windows\Forms\Control.Ime.cs (1)
639if ((appForm is null || appForm.Modal) && !topMostWinformsParent.ContainsFocus)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
30_isModal ??= this.TryGetOwnerAs(out DataGridView? owner) && owner.TopMostParent is Form { Modal: true };
System\Windows\Forms\Form.AccessibleObject.cs (1)
39UIA_PROPERTY_ID.UIA_IsDialogPropertyId => (VARIANT)(this.TryGetOwnerAs(out Form? owner) && owner.Modal),
System\Windows\Forms\Form.cs (8)
4802if (!Modal) 4830if (!Modal) 5586if (Modal) 6518Application.FormActivated(Modal, true); 6520Application.FormActivated(Modal, Active); 6576if (Modal) 6663if (Modal) 6885if (Modal && _dialogResult == DialogResult.None)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
906if (_topLevelControl is not Form topForm || (topForm is not null && !topForm.Modal))
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
124Assert.False(control.Modal);
System\Windows\Forms\FormTests.cs (1)
126Assert.False(control.Modal);