1 implementation of GetSelectedToolboxItem
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
197public ToolboxItem GetSelectedToolboxItem(IDesignerHost host)
6 references to GetSelectedToolboxItem
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\CommandSet.cs (1)
685if (TryGetService(out IToolboxService? tbx) && tbx.GetSelectedToolboxItem(GetService<IDesignerHost>()) is not null)
System\Windows\Forms\Design\ComponentTray.cs (1)
1234ToolboxItem tool = _toolboxService.GetSelectedToolboxItem((IDesignerHost)GetService(typeof(IDesignerHost)));
System\Windows\Forms\Design\ControlDesigner.cs (1)
1896if (_toolboxService?.GetSelectedToolboxItem(GetService<IDesignerHost>()) is not null)
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
241if (toolboxSvc is not null && tool.Equals(toolboxSvc.GetSelectedToolboxItem(host)))
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1719_mouseDragTool = _toolboxService.GetSelectedToolboxItem((IDesignerHost)GetService(typeof(IDesignerHost)));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1537if (tbx is not null && tbx.GetSelectedToolboxItem((IDesignerHost)GetService(typeof(IDesignerHost))) is not null)