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