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

Represents a marquee that might be dragged with the mouse.
Create an instance of this class when an empty area of the graph is clicked. When the mouse is moved, check to determine whether the mouse has moved far enough to begin a marquee drag. If returns true, call to create a Visual to represent the dragged marquee.
상속: MouseDragWithVisual
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_oMarqueeRectangle System.Windows.Rect

공개 메소드들

메소드 설명
AssertValid ( ) : void
CreateVisual ( Point currentMouseLocation, Color backgroundContrastColor ) : Visual
DraggedMarquee ( Point mouseDownLocation, Rect graphRectangle, Int32 margin ) : System

Initializes a new instance of the DraggedMarquee class.

보호된 메소드들

메소드 설명
CreateMarqueeRectangle ( Point oCurrentMouseLocation ) : Rect

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

CreateMarqueeRectangle() 보호된 메소드

protected CreateMarqueeRectangle ( Point oCurrentMouseLocation ) : Rect
oCurrentMouseLocation Point
리턴 System.Windows.Rect

CreateVisual() 공개 메소드

public CreateVisual ( Point currentMouseLocation, Color backgroundContrastColor ) : Visual
currentMouseLocation Point
backgroundContrastColor Color
리턴 Visual

DraggedMarquee() 공개 메소드

Initializes a new instance of the DraggedMarquee class.
public DraggedMarquee ( 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_oMarqueeRectangle 보호되어 있는 프로퍼티

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