可以拖动到数据视图层次结构中的所选节点。
命名空间: Microsoft.VisualStudio.Data.Services.SupportEntities
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Public Interface IVsDataViewDragSourceProvider
public interface IVsDataViewDragSourceProvider
public interface class IVsDataViewDragSourceProvider
type IVsDataViewDragSourceProvider = interface end
public interface IVsDataViewDragSourceProvider
IVsDataViewDragSourceProvider 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
CreateDataObject | 当实现由选件类,创建包含被拖动的节点的副本,并在剪贴板中存储的数据对象。 |
![]() |
GetAllowedEffects | 当实现由选件类,检索允许的拖放效果,当节点在数据视图中拖动,例如,复制、移动或链接时。 |
![]() |
OnDropped | 当实现由选件类,处理拖放操作。 |
![]() |
OnGiveFeedback | 当实现由选件类,则引发 GiveFeedback 事件。 |
![]() |
OnQueryContinueDrag | 当实现由选件类,则引发 QueryContinueDrag 事件。 |
页首