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)
4861if (!Modal) 4889if (!Modal) 5677if (Modal) 6609Application.FormActivated(Modal, true); 6611Application.FormActivated(Modal, Active); 6667if (Modal) 6754if (Modal) 6976if (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)
126Assert.False(control.Modal);
System\Windows\Forms\FormTests.cs (1)
128Assert.False(control.Modal);