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

Represents a dragged object that has a visual representation.
This is an abstract base class. It maintains a Visual property that represents an object being dragged. It is up to the derived class to create the object.
상속: MouseDrag
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_iMargin System.Int32
m_oGraphRectangle System.Windows.Rect
m_oVisual Visual

공개 메소드들

메소드 설명
AssertValid ( ) : void
MouseDragWithVisual ( Point mouseDownLocation, Rect graphRectangle, Int32 margin ) : System

Initializes a new instance of the MouseDragWithVisual class.

보호된 메소드들

메소드 설명
ForcePointToBeWithinMargins ( Point oPoint ) : Point

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

ForcePointToBeWithinMargins() 보호된 메소드

protected ForcePointToBeWithinMargins ( Point oPoint ) : Point
oPoint Point
리턴 Point

MouseDragWithVisual() 공개 메소드

Initializes a new instance of the MouseDragWithVisual class.
public MouseDragWithVisual ( Point mouseDownLocation, Rect graphRectangle, Int32 margin ) : System
mouseDownLocation Point /// Location where the graph was clicked, in client coordinates. ///
graphRectangle System.Windows.Rect /// The graph rectangle. ///
margin System.Int32 /// The graph margin. ///
리턴 System

프로퍼티 상세

m_iMargin 보호되어 있는 프로퍼티

protected Int32,System m_iMargin
리턴 System.Int32

m_oGraphRectangle 보호되어 있는 프로퍼티

protected Rect,System.Windows m_oGraphRectangle
리턴 System.Windows.Rect

m_oVisual 보호되어 있는 프로퍼티

protected Visual m_oVisual
리턴 Visual