6 references to GetType
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (3)
270
if (item.
GetType
(host) == typeof(ToolStrip)
271
|| item.
GetType
(host) == typeof(MenuStrip)
272
|| item.
GetType
(host) == typeof(StatusStrip))
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
170
Type? toolType = tool.
GetType
(_designerHost);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
172
Type? toolType = tool.
GetType
(_designerHost);
System.Windows.Forms.Design.Tests (1)
System\Drawing\Design\ToolboxItemTests.cs (1)
1290
Assert.Equal(expected, item.
GetType
(host));