9 references to ItemType
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\ItemTypeToolStripMenuItem.cs (2)
36_image ??= ToolStripDesignerUtils.GetToolboxBitmap(ItemType); 47get => ToolStripDesignerUtils.GetToolboxDescription(ItemType);
System\Windows\Forms\Design\NewItemsContextMenuStrip.cs (2)
46if (item is ItemTypeToolStripMenuItem toolItem && _currentItem is not null && toolItem.ItemType == _currentItem.GetType()) 58if (item is ItemTypeToolStripMenuItem toolItem && _currentItem is not null && toolItem.ItemType == _currentItem.GetType())
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
49Type t = senderItem.ItemType;
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (2)
378if (item is ItemTypeToolStripMenuItem toolItem && currentItem is not null && toolItem.ItemType == currentItem.GetType()) 411if (item is ItemTypeToolStripMenuItem toolItem && currentItem is not null && toolItem.ItemType == currentItem.GetType())
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (1)
286Type t = senderItem.ItemType;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
435ToolStripItemType = senderItem.ItemType;