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