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