C# 클래스 csShared.Utils.InputDeviceHelper

A helper class that provides extra data for a given input device: - delta between the current position, - an element the intput device was placed at.
파일 보기 프로젝트 열기: TNOCS/csTouch

공개 메소드들

메소드 설명
ClearDeviceState ( System.Windows.Input.InputDevice device ) : void
DraggedDelta ( System.Windows.Input.InputDevice inputDevice, UIElement relativeTo ) : System.Windows.Vector

Returns delta between current input device position and where the input device was placed relative to the given elementToDrag.

GetDragSource ( System.Windows.Input.InputDevice inputDevice ) : DependencyObject

Returns the Source the input device was placed at.

InitializeDeviceState ( System.Windows.Input.InputDevice device ) : void

비공개 메소드들

메소드 설명
DraggedDelta ( System.Windows.Input.InputDevice inputDevice, Window window, UIElement relativeTo ) : System.Windows.Vector

메소드 상세

ClearDeviceState() 공개 정적인 메소드

public static ClearDeviceState ( System.Windows.Input.InputDevice device ) : void
device System.Windows.Input.InputDevice
리턴 void

DraggedDelta() 공개 정적인 메소드

Returns delta between current input device position and where the input device was placed relative to the given elementToDrag.
public static DraggedDelta ( System.Windows.Input.InputDevice inputDevice, UIElement relativeTo ) : System.Windows.Vector
inputDevice System.Windows.Input.InputDevice
relativeTo System.Windows.UIElement
리턴 System.Windows.Vector

GetDragSource() 공개 정적인 메소드

Returns the Source the input device was placed at.
public static GetDragSource ( System.Windows.Input.InputDevice inputDevice ) : DependencyObject
inputDevice System.Windows.Input.InputDevice
리턴 System.Windows.DependencyObject

InitializeDeviceState() 공개 정적인 메소드

public static InitializeDeviceState ( System.Windows.Input.InputDevice device ) : void
device System.Windows.Input.InputDevice
리턴 void