C# 클래스 Yuhan.WPF.DragDrop.DragDropHelper

파일 보기 프로젝트 열기: hansuky/Yuhan 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AdornerLayerProperty System.Windows.DependencyProperty
DragDropControlProperty System.Windows.DependencyProperty
DropTargetProperty System.Windows.DependencyProperty
IsDragSourceProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
DragSource_PreviewMouseLeftButtonDown void
DragSource_PreviewMouseLeftButtonUp void
DragSource_PreviewMouseMove void
IsDragSourceChanged void
_adorner_MouseMove void
_adorner_MouseUp void

공개 메소드들

메소드 설명
FindAncestor ( Type ancestorType, Visual visual ) : FrameworkElement
GetAdornerLayer ( DependencyObject obj ) : string
GetDragDropControl ( DependencyObject obj ) : UIElement
GetDropTarget ( DependencyObject obj ) : string
GetIsDragSource ( DependencyObject obj ) : bool
IsMovementBigEnough ( Point initialMousePosition, Point currentPosition ) : bool
SetAdornerLayer ( DependencyObject obj, string value ) : void
SetDragDropControl ( DependencyObject obj, UIElement value ) : void
SetDropTarget ( DependencyObject obj, string value ) : void
SetIsDragSource ( DependencyObject obj, bool value ) : void

비공개 메소드들

메소드 설명
DragSource_PreviewMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
DragSource_PreviewMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
DragSource_PreviewMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
IsDragSourceChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
_adorner_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
_adorner_MouseUp ( object sender, System.Windows.Input.MouseEventArgs e ) : void

메소드 상세

FindAncestor() 공개 정적인 메소드

public static FindAncestor ( Type ancestorType, Visual visual ) : FrameworkElement
ancestorType System.Type
visual Visual
리턴 System.Windows.FrameworkElement

GetAdornerLayer() 공개 정적인 메소드

public static GetAdornerLayer ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
리턴 string

GetDragDropControl() 공개 정적인 메소드

public static GetDragDropControl ( DependencyObject obj ) : UIElement
obj System.Windows.DependencyObject
리턴 UIElement

GetDropTarget() 공개 정적인 메소드

public static GetDropTarget ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
리턴 string

GetIsDragSource() 공개 정적인 메소드

public static GetIsDragSource ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
리턴 bool

IsMovementBigEnough() 공개 정적인 메소드

public static IsMovementBigEnough ( Point initialMousePosition, Point currentPosition ) : bool
initialMousePosition Point
currentPosition Point
리턴 bool

SetAdornerLayer() 공개 정적인 메소드

public static SetAdornerLayer ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
리턴 void

SetDragDropControl() 공개 정적인 메소드

public static SetDragDropControl ( DependencyObject obj, UIElement value ) : void
obj System.Windows.DependencyObject
value UIElement
리턴 void

SetDropTarget() 공개 정적인 메소드

public static SetDropTarget ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
리턴 void

SetIsDragSource() 공개 정적인 메소드

public static SetIsDragSource ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
리턴 void

프로퍼티 상세

AdornerLayerProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows AdornerLayerProperty
리턴 System.Windows.DependencyProperty

DragDropControlProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DragDropControlProperty
리턴 System.Windows.DependencyProperty

DropTargetProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DropTargetProperty
리턴 System.Windows.DependencyProperty

IsDragSourceProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows IsDragSourceProperty
리턴 System.Windows.DependencyProperty