C# 클래스 Smrf.NodeXL.Visualization.Wpf.MouseDrag

Represents a mouse drag operation.
Create an instance of this class when a MouseDown event occurs. When the mouse is moved, call OnMouseMove to determine whether the mouse has moved far enough to begin a mouse drag operation. When the mouse button is released, call OnMouseUp.
상속: VisualizationBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_bDragIsInProgress System.Boolean
m_oMouseDownLocation Point

공개 메소드들

메소드 설명
AssertValid ( ) : void
MouseDrag ( Point mouseDownLocation ) : System

Initializes a new instance of the MouseDrag class.

OnMouseMove ( Point currentMouseLocation ) : System.Boolean
OnMouseUp ( ) : System.Boolean

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

MouseDrag() 공개 메소드

Initializes a new instance of the MouseDrag class.
public MouseDrag ( Point mouseDownLocation ) : System
mouseDownLocation Point /// Location where the MouseDown event occurred, in client coordinates. ///
리턴 System

OnMouseMove() 공개 메소드

public OnMouseMove ( Point currentMouseLocation ) : System.Boolean
currentMouseLocation Point
리턴 System.Boolean

OnMouseUp() 공개 메소드

public OnMouseUp ( ) : System.Boolean
리턴 System.Boolean

프로퍼티 상세

m_bDragIsInProgress 보호되어 있는 프로퍼티

protected Boolean,System m_bDragIsInProgress
리턴 System.Boolean

m_oMouseDownLocation 보호되어 있는 프로퍼티

protected Point m_oMouseDownLocation
리턴 Point