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

Protected Properties

Свойство Type Description
m_iMargin System.Int32
m_oGraphRectangle System.Windows.Rect
m_oVisual Visual

Méthodes publiques

Méthode Description
AssertValid ( ) : void
MouseDragWithVisual ( Point mouseDownLocation, Rect graphRectangle, Int32 margin ) : System

Initializes a new instance of the MouseDragWithVisual class.

Méthodes protégées

Méthode Description
ForcePointToBeWithinMargins ( Point oPoint ) : Point

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

ForcePointToBeWithinMargins() protected méthode

protected ForcePointToBeWithinMargins ( Point oPoint ) : Point
oPoint Point
Résultat Point

MouseDragWithVisual() public méthode

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

Property Details

m_iMargin protected_oe property

protected Int32,System m_iMargin
Résultat System.Int32

m_oGraphRectangle protected_oe property

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

m_oVisual protected_oe property

protected Visual m_oVisual
Résultat Visual