IVsDataViewDragSourceProvider 接口

定义

表示在数据视图层次结构中拖动所选节点的功能。

public interface class IVsDataViewDragSourceProvider
public interface IVsDataViewDragSourceProvider
type IVsDataViewDragSourceProvider = interface
Public Interface IVsDataViewDragSourceProvider

方法

CreateDataObject()

当由类实现时,会创建一个数据对象,该对象包含拖动节点的副本,该副本将存储在剪贴板中。

GetAllowedEffects(IDataObject)

当由类实现时,在数据视图中拖动节点(例如复制、移动或链接)时,检索允许的拖放效果。

OnDropped(IDataObject, DragDropEffects)

当由类实现时,处理放置操作。

OnGiveFeedback(IDataObject, GiveFeedbackEventArgs)

由类实现时,引发 GiveFeedback 事件。

OnQueryContinueDrag(IDataObject, QueryContinueDragEventArgs)

由类实现时,引发 QueryContinueDrag 事件。

适用于