C# 클래스 Yuhan.WPF.DragDrop.DragDropFrameworkData.FileDropConsumer

This data consumer creates an item for every entry in a string array. It is meant to consume a FileDrop or a FileNameW. It knows how to create items for a TabControl, ListBox or TreeView.
상속: Yuhan.WPF.DragDrop.DragDropFramework.DataConsumerBase, IDataConsumer
파일 보기 프로젝트 열기: hansuky/Yuhan 1 사용 예제들

공개 메소드들

메소드 설명
DropTarget_DragOver ( object sender, System.Windows.DragEventArgs e ) : void
DropTarget_Drop ( object sender, System.Windows.DragEventArgs e ) : void
FileDropConsumer ( string dataFormats ) : System

비공개 메소드들

메소드 설명
DragOverOrDrop ( bool bDrop, object sender, System.Windows.DragEventArgs e ) : void

First determine whether the drag data is supported. Second determine what type the container is. Third determine what operation to do (only copy is supported). And finally handle the actual drop when bDrop is true.

메소드 상세

DropTarget_DragOver() 공개 메소드

public DropTarget_DragOver ( object sender, System.Windows.DragEventArgs e ) : void
sender object
e System.Windows.DragEventArgs
리턴 void

DropTarget_Drop() 공개 메소드

public DropTarget_Drop ( object sender, System.Windows.DragEventArgs e ) : void
sender object
e System.Windows.DragEventArgs
리턴 void

FileDropConsumer() 공개 메소드

public FileDropConsumer ( string dataFormats ) : System
dataFormats string
리턴 System