14 references to Modal
System.Windows.Forms (12)
System\Windows\Forms\Control.Ime.cs (1)
639
if ((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)
39
UIA_PROPERTY_ID.UIA_IsDialogPropertyId => (VARIANT)(this.TryGetOwnerAs(out Form? owner) && owner.
Modal
),
System\Windows\Forms\Form.cs (8)
4802
if (!
Modal
)
4830
if (!
Modal
)
5586
if (
Modal
)
6518
Application.FormActivated(
Modal
, true);
6520
Application.FormActivated(
Modal
, Active);
6576
if (
Modal
)
6663
if (
Modal
)
6885
if (
Modal
&& _dialogResult == DialogResult.None)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
906
if (_topLevelControl is not Form topForm || (topForm is not null && !topForm.
Modal
))
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
124
Assert.False(control.
Modal
);
System\Windows\Forms\FormTests.cs (1)
126
Assert.False(control.
Modal
);