C# Class 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.
Inheritance: MouseDragWithVisual
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Свойство Type Description
m_oMarqueeRectangle System.Windows.Rect

Méthodes publiques

Méthode Description
AssertValid ( ) : void
CreateVisual ( Point currentMouseLocation, Color backgroundContrastColor ) : Visual
DraggedMarquee ( Point mouseDownLocation, Rect graphRectangle, Int32 margin ) : System

Initializes a new instance of the DraggedMarquee class.

Méthodes protégées

Méthode Description
CreateMarqueeRectangle ( Point oCurrentMouseLocation ) : Rect

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

CreateMarqueeRectangle() protected méthode

protected CreateMarqueeRectangle ( Point oCurrentMouseLocation ) : Rect
oCurrentMouseLocation Point
Résultat System.Windows.Rect

CreateVisual() public méthode

public CreateVisual ( Point currentMouseLocation, Color backgroundContrastColor ) : Visual
currentMouseLocation Point
backgroundContrastColor Color
Résultat Visual

DraggedMarquee() public méthode

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. ///
Résultat System

Property Details

m_oMarqueeRectangle protected_oe property

protected Rect,System.Windows m_oMarqueeRectangle
Résultat System.Windows.Rect