29 references to IsMdiChild
System.Windows.Forms (27)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
926
if (toplevelControl is Form mdiChild && mdiChild.
IsMdiChild
)
System\Windows\Forms\Form.ControlCollection.cs (1)
39
if (_owner.
IsMdiChild
)
System\Windows\Forms\Form.cs (24)
800
if (
IsMdiChild
)
823
if (TopLevel ||
IsMdiChild
)
1061
return (WindowState == FormWindowState.Maximized || (
IsMdiChild
&& (_formState[s_formStateMdiChildMax] == 1)));
1509
if (ParentInternal.IsHandleCreated &&
IsMdiChild
&& IsHandleCreated)
2096
if (!
IsMdiChild
)
2154
if (value && !
IsMdiChild
&& (WindowState == FormWindowState.Maximized || TopMost))
2761
if (
IsMdiChild
)
3292
if (
IsMdiChild
&& MdiParentInternal.IsHandleCreated)
3307
if (
IsMdiChild
3638
if (
IsMdiChild
&& Dock != DockStyle.None)
3647
if (
IsMdiChild
)
3710
if (
IsMdiChild
)
3773
if (
IsMdiChild
)
3789
if (
IsMdiChild
&&
4101
if (
IsMdiChild
)
4139
_formStateEx[s_formStateExUseMdiChildProc] = (
IsMdiChild
&& Visible) ? 1 : 0;
4741
if (
IsMdiChild
&& charCode != ' ')
4784
if (
IsMdiChild
|| ParentForm is null)
4862
if (!
IsMdiChild
&& (WindowState == FormWindowState.Minimized || WindowState == FormWindowState.Maximized))
5055
else if (
IsMdiChild
)
6769
if (
IsMdiChild
)
6853
if (
IsMdiChild
)
6955
if (
IsMdiChild
&& !ControlBox)
6962
if (
IsMdiChild
&& !ControlBox)
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (1)
44
if (value is not Form form || !form.
IsMdiChild
)
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
106
Assert.False(control.
IsMdiChild
);
System\Windows\Forms\FormTests.cs (1)
108
Assert.False(control.
IsMdiChild
);