Show / Hide Table of Contents

Interface IDropTarget

Namespace: UnityEditor.Experimental.UIElements.GraphView
Assembly: UnityEditor.dll
Syntax
public interface IDropTarget

Methods

| Improve this Doc View Source

CanAcceptDrop(List<ISelectable>)

Declaration
bool CanAcceptDrop(List<ISelectable> selection)
Parameters
Type Name Description
List<ISelectable> selection
Returns
Type Description
Boolean
| Improve this Doc View Source

DragEnter(DragEnterEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)

Declaration
bool DragEnter(DragEnterEvent evt, IEnumerable<ISelectable> selection, IDropTarget enteredTarget, ISelection dragSource)
Parameters
Type Name Description
DragEnterEvent evt
IEnumerable<ISelectable> selection
IDropTarget enteredTarget
ISelection dragSource
Returns
Type Description
Boolean
| Improve this Doc View Source

DragExited()

Declaration
bool DragExited()
Returns
Type Description
Boolean
| Improve this Doc View Source

DragLeave(DragLeaveEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)

Declaration
bool DragLeave(DragLeaveEvent evt, IEnumerable<ISelectable> selection, IDropTarget leftTarget, ISelection dragSource)
Parameters
Type Name Description
DragLeaveEvent evt
IEnumerable<ISelectable> selection
IDropTarget leftTarget
ISelection dragSource
Returns
Type Description
Boolean
| Improve this Doc View Source

DragPerform(DragPerformEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)

Declaration
bool DragPerform(DragPerformEvent evt, IEnumerable<ISelectable> selection, IDropTarget dropTarget, ISelection dragSource)
Parameters
Type Name Description
DragPerformEvent evt
IEnumerable<ISelectable> selection
IDropTarget dropTarget
ISelection dragSource
Returns
Type Description
Boolean
| Improve this Doc View Source

DragUpdated(DragUpdatedEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)

Declaration
bool DragUpdated(DragUpdatedEvent evt, IEnumerable<ISelectable> selection, IDropTarget dropTarget, ISelection dragSource)
Parameters
Type Name Description
DragUpdatedEvent evt
IEnumerable<ISelectable> selection
IDropTarget dropTarget
ISelection dragSource
Returns
Type Description
Boolean

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX