4 implementations of IOleDragClient
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ComponentTray.cs (1)
25public class ComponentTray : ScrollableControl, IExtenderProvider, ISelectionUIHandler, IOleDragClient
System\Windows\Forms\Design\CompositionDesigner.cs (1)
16public class ComponentDocumentDesigner : ComponentDesigner, IRootDesigner, IToolboxUser, IOleDragClient,
System\Windows\Forms\Design\DocumentDesigner.cs (1)
22public partial class DocumentDesigner : ScrollableControlDesigner, IRootDesigner, IToolboxUser, IOleDragClient
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
20public partial class ParentControlDesigner : ControlDesigner, IOleDragClient
33 references to IOleDragClient
System.Windows.Forms.Design (33)
System\Windows\Forms\Design\CommandSet.cs (2)
1910IOleDragClient? designer = null; 1922if (tree is IOleDragClient oleDragClient)
System\Windows\Forms\Design\ComponentTray.cs (10)
486IComponent IOleDragClient.Component 491bool IOleDragClient.CanModifyComponents 496bool IOleDragClient.AddComponent(IComponent component, string name, bool firstAdd) 499if (_mainDesigner is IOleDragClient oleDragClient) 538bool IOleDragClient.IsDropOk(IComponent component) => true; 540Control IOleDragClient.GetDesignerControl() => this; 542Control IOleDragClient.GetControlForComponent(object component) 631if (((IOleDragClient)this).GetControlForComponent(component) is TrayControl tc) 1454Control c = ((IOleDragClient)this).GetControlForComponent(o); 2901public TrayOleDragDropHandler(SelectionUIHandler selectionHandler, IServiceProvider serviceProvider, IOleDragClient client) : base(selectionHandler, serviceProvider, client)
System\Windows\Forms\Design\CompositionDesigner.cs (5)
42bool IOleDragClient.CanModifyComponents 47bool IOleDragClient.AddComponent(IComponent component, string name, bool firstAdd) 52bool IOleDragClient.IsDropOk(IComponent component) 57Control IOleDragClient.GetDesignerControl() 62Control IOleDragClient.GetControlForComponent(object component)
System\Windows\Forms\Design\DocumentDesigner.cs (2)
242Control IOleDragClient.GetControlForComponent(object component) 245return c ?? (_componentTray is not null ? ((IOleDragClient)_componentTray).GetControlForComponent(component) : null);
System\Windows\Forms\Design\OleDragDropHandler.cs (2)
41public OleDragDropHandler(SelectionUIHandler? selectionHandler, IServiceProvider serviceProvider, IOleDragClient client) 66internal IOleDragClient Destination { get; }
System\Windows\Forms\Design\ParentControlDesigner.cs (12)
476selectedControl = ((IOleDragClient)this).GetControlForComponent(primarySelection); 1403IOleDragClient target = ddh.Destination; 1535if (draggedDesigner is IOleDragClient) 1537draggedControl = ((IOleDragClient)this).GetControlForComponent(dragComps[i]); 1563if (!((IOleDragClient)this).IsDropOk(comp)) 2294IComponent IOleDragClient.Component 2307bool IOleDragClient.AddComponent(IComponent component, string name, bool firstAdd) 2351if (!((IOleDragClient)this).IsDropOk(component)) 2459bool IOleDragClient.CanModifyComponents 2471bool IOleDragClient.IsDropOk(IComponent component) 2531Control IOleDragClient.GetDesignerControl() 2541Control IOleDragClient.GetControlForComponent(object component)