65 references to GetTopLevel
System.Windows.Forms (19)
System\Windows\Forms\Control.ControlCollection.cs (1)
49if (value.GetTopLevel())
System\Windows\Forms\Control.cs (13)
3196while (control is not null && !control.GetTopLevel()) 4182if (oldVisible != newVisible && !(!oldVisible && newVisible && _parent is null && !GetTopLevel())) 4312else if (IsHandleCreated && GetTopLevel() && PInvoke.IsWindowEnabled(this)) 9956else if (IsHandleCreated && GetTopLevel()) 10173bool topLevel = GetTopLevel(); 10202if (!GetTopLevel()) 10280if (GetTopLevel() != value) 10312if (GetTopLevel()) 10756if (!GetTopLevel()) 10953_window.LockReference(GetTopLevel() && Visible); 12022bool parentVisible = GetTopLevel(); 12496if (GetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged) && GetTopLevel()) 12546if (GetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged) && GetTopLevel())
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
798return GetTopLevel(); 803if (value != GetTopLevel())
System\Windows\Forms\Form.cs (1)
1962get => GetTopLevel();
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
692if (GetTopLevel()) 1023if (GetTopLevel())
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
1080public new bool GetTopLevel() => base.GetTopLevel();
System.Windows.Forms.Tests (45)
System\Windows\Forms\ButtonBaseTests.cs (1)
9337public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ButtonTests.cs (1)
3743public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\CheckBoxTests.cs (1)
696public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ComboBoxTests.cs (1)
2896public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ContainerControlTests.cs (1)
1487public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ControlTests.cs (1)
1218public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
2168public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\DateTimePickerTests.cs (1)
1064public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
456public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
987public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\DomainUpDownTests.cs (1)
1550public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
502public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\FormTests.cs (1)
2766public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\GroupBoxTests.cs (1)
2355public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\HScrollBarTests.cs (1)
302public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\LabelTests.cs (1)
945public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ListBoxTests.cs (1)
6468public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ListControlTests.cs (1)
2968public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ListViewTests.cs (1)
6155public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\MenuStripTests.cs (1)
938public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\MonthCalendarTests.cs (1)
4788public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\PanelTests.cs (1)
1224public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\PictureBoxTests.cs (1)
2896public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ProgressBarTests.cs (1)
2646public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\PropertyGridTests.cs (1)
4227public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\RadioButtonTests.cs (1)
1595public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\RichTextBoxTests.cs (1)
10980public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ScrollableControlTests.cs (1)
2644public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ScrollBarTests.cs (1)
3218public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\SplitterTests.cs (1)
2361public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\TabControlTests.cs (1)
5787public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\TableLayoutPanelTests.cs (1)
2243public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\TabPageTests.cs (1)
5307public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
2086public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ToolStripDropDownTests.cs (1)
5184public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ToolStripPanelTests.cs (1)
427public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\ToolStripTests.cs (1)
7616public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\TreeViewTests.cs (1)
7628public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\UpDownBaseTests.cs (1)
3186public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\UserControlTests.cs (1)
1867public new bool GetTopLevel() => base.GetTopLevel();
System\Windows\Forms\VScrollBarTests.cs (1)
292public new bool GetTopLevel() => base.GetTopLevel();
TextBoxBaseTests.cs (1)
7741public new bool GetTopLevel() => base.GetTopLevel();
TextBoxTests.cs (1)
743public new bool GetTopLevel() => base.GetTopLevel();
TrackBarTests.cs (1)
3336public new bool GetTopLevel() => base.GetTopLevel();
WebBrowserBaseTests.cs (1)
948public new bool GetTopLevel() => base.GetTopLevel();