Northwoods.GoSilverlight 1.2.2 Assembly
DraggingTool Class Members
See Also  Fields  Properties  Methods  Events Send Feedback
Northwoods.GoXam.Tool Namespace : DraggingTool Class


The following tables list the members exposed by DraggingTool.

Public Constructors

 NameDescription
public ConstructorDraggingTool Constructor  
Top

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)CopiesEffectiveCollectionPropertyIdentifies the CopiesEffectiveCollection dependency property.  
public Fieldstatic (Shared in Visual Basic)DraggableLinksPropertyIdentifies the DraggableLinks dependency property.  
public Fieldstatic (Shared in Visual Basic)DragOverSnapAreaPropertyIdentifies the DraggingTool.DragOverSnapArea dependency property.  
public Fieldstatic (Shared in Visual Basic)DropOntoEnabledPropertyIdentifies the DropOntoEnabled dependency property.  
public Fieldstatic (Shared in Visual Basic)FromPortIdPropertyIdentifies the FromPortId dependency property.  
public Fieldstatic (Shared in Visual Basic)InclusionsPropertyIdentifies the Inclusions dependency property.  
public Fieldstatic (Shared in Visual Basic)ToPortIdPropertyIdentifies the ToPortId dependency property.  
Top

Public Properties

 NameDescription
public PropertyActive Gets or sets whether this tool is started and is actively doing something. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public PropertyActualHeight (Inherited from System.Windows.FrameworkElement)
public PropertyActualWidth (Inherited from System.Windows.FrameworkElement)
public PropertyAllowDrop (Inherited from System.Windows.UIElement)
public PropertyCacheMode (Inherited from System.Windows.UIElement)
public PropertyClip (Inherited from System.Windows.UIElement)
public PropertyCopiedParts Gets or sets the collection of parts that this tool has copied.  
public PropertyCopiesEffectiveCollection Gets or sets whether for a copying operation the extended selection is copied or only selected parts.  
public PropertyCursor (Inherited from System.Windows.FrameworkElement)
public PropertyDataContext (Inherited from System.Windows.FrameworkElement)
public PropertyDesiredSize (Inherited from System.Windows.UIElement)
public PropertyDiagramGets the Northwoods.GoXam.Diagram that owns this tool and for which this tool is handling input events. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public PropertyDispatcher (Inherited from System.Windows.DependencyObject)
public PropertyDraggableLinksGets or sets whether the user can drag a single Northwoods.GoXam.Link, disconnecting it from its connected nodes and possibly connecting it to valid ports when the link is dropped.  
public PropertyDraggedPartsGets or sets the collection of Northwoods.GoXam.Parts being dragged.  
public PropertyDragOverSnapArea Gets or sets whether dragging any parts over the diagram or over any parts causes their position to be snapped to grid points.  
public PropertyDropOntoEnabledGets or sets whether stationary parts get their Northwoods.GoXam.Part.IsDropOntoAccepted property temporarily set to true during a drag.  
public PropertyEffect (Inherited from System.Windows.UIElement)
public PropertyFlowDirection (Inherited from System.Windows.FrameworkElement)
public PropertyFromPortIdGets or sets the port identifier used when DropOnto creates a new link due to Northwoods.GoXam.Part.DropOntoBehavior is Northwoods.GoXam.DropOntoBehavior.AddsLinkFromNode, Northwoods.GoXam.DropOntoBehavior.AddsLinkToNode, or Northwoods.GoXam.DropOntoBehavior.SplicesIntoLink.  
public PropertyHeight (Inherited from System.Windows.FrameworkElement)
public PropertyHorizontalAlignment (Inherited from System.Windows.FrameworkElement)
public PropertyInclusions Gets or sets whether moving or copying a node also includes all of the node's children and their descendants, along with the links to those additional nodes.  
public PropertyIsHitTestVisible (Inherited from System.Windows.UIElement)
public PropertyLanguage (Inherited from System.Windows.FrameworkElement)
public PropertyMargin (Inherited from System.Windows.FrameworkElement)
public PropertyMaxHeight (Inherited from System.Windows.FrameworkElement)
public PropertyMaxWidth (Inherited from System.Windows.FrameworkElement)
public PropertyMinHeight (Inherited from System.Windows.FrameworkElement)
public PropertyMinWidth (Inherited from System.Windows.FrameworkElement)
public PropertyMouseEnabled Gets or sets whether this tool can be started by a mouse event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public PropertyName (Inherited from System.Windows.FrameworkElement)
public PropertyOpacity (Inherited from System.Windows.UIElement)
public PropertyOpacityMask (Inherited from System.Windows.UIElement)
public PropertyParent (Inherited from System.Windows.FrameworkElement)
public PropertyProjection (Inherited from System.Windows.UIElement)
public PropertyRenderSize (Inherited from System.Windows.UIElement)
public PropertyRenderTransform (Inherited from System.Windows.UIElement)
public PropertyRenderTransformOrigin (Inherited from System.Windows.UIElement)
public PropertyResources (Inherited from System.Windows.FrameworkElement)
public Propertystatic (Shared in Visual Basic)SourceThis is an experimental property that gets the DraggingTool that is the source of a simulated drag-and-drop in Silverlight or in WPF XBAP.  
public PropertyStyle (Inherited from System.Windows.FrameworkElement)
public PropertyTag (Inherited from System.Windows.FrameworkElement)
public PropertyToPortIdGets or sets the port identifier used when DropOnto creates a new link due to Northwoods.GoXam.Part.DropOntoBehavior is Northwoods.GoXam.DropOntoBehavior.AddsLinkFromNode, Northwoods.GoXam.DropOntoBehavior.AddsLinkToNode, or Northwoods.GoXam.DropOntoBehavior.SplicesIntoLink.  
public PropertyTriggers (Inherited from System.Windows.FrameworkElement)
public PropertyUseLayoutRounding (Inherited from System.Windows.UIElement)
public PropertyVerticalAlignment (Inherited from System.Windows.FrameworkElement)
public PropertyVisibility (Inherited from System.Windows.UIElement)
public PropertyWheelBehaviorGets or sets the behavior of DiagramTool.StandardMouseWheel. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public PropertyWidth (Inherited from System.Windows.FrameworkElement)
Top

Protected Properties

 NameDescription
protected PropertyCurrentPartGets or sets the Northwoods.GoXam.Part found at the mouse point by StandardMouseSelect.  
protected PropertyDraggedLinkGets or sets the Northwoods.GoXam.Link that may be dragged and reconnected when DraggableLinks is true.  
protected PropertyDragOutStarted Gets or sets whether a potentially external drag-and-drop has been started by this tool.  
protected PropertyDragOverPartGets or sets a Northwoods.GoXam.Part, not being dragged, that the mouse is over, and sets its Northwoods.GoXam.Part.IsDropOntoAccepted property appropriately.  
protected PropertyStartPoint Gets or sets the mouse point from which parts start to move.  
protected PropertyTransactionResult Gets or sets the name of the transaction to be committed; if null, the transaction will be rolled back. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Top

Public Methods

 NameDescription
public MethodAddHandler (Inherited from System.Windows.UIElement)
public MethodArrange (Inherited from System.Windows.UIElement)
public MethodCanStartOverridden. This tool can run if this diagram allows selection and moves/copies/dragging-out, if the mouse has moved far enough away to be a drag and not a click, and if FindDraggablePart has found a selectable part at the mouse-down point.  
public MethodClearValue (Inherited from System.Windows.DependencyObject)
public MethodComputeEffectiveCollection Find the actual collection of nodes and links to be moved or copied, given an initial collection.  
public MethodDoActivateOverridden.  Start the dragging operation.  
public MethodDoCancelOverridden.  Abort any dragging operation.  
public MethodDoDeactivateThis method is called by the diagram on the old tool when Northwoods.GoXam.Diagram.CurrentTool is set to a new tool. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoKeyDownOverridden.  Handle switching between copying and moving modes as the Control key is pressed or released.  
public MethodDoKeyUpOverridden.  Handle switching between copying and moving modes as the Control key is pressed or released.  
public MethodDoMouseDown The diagram will call this method upon a mouse down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoMouseMoveOverridden. As the user moves the mouse, move the collection of CopiedParts or DraggedParts, depending on whether MayCopy or MayMove is true.  
public MethodDoMouseUpOverridden.  On a mouse-up finish moving or copying the effective selection.  
public MethodDoMouseWheel The diagram will call this method as the mouse wheel is rotated. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoStart This method is called by the diagram when this tool becomes the current tool. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoStopOverridden.  Finish and clean-up after a dragging operation.  
public MethodFindName (Inherited from System.Windows.FrameworkElement)
public MethodGetAnimationBaseValue (Inherited from System.Windows.DependencyObject)
public MethodGetBindingExpression (Inherited from System.Windows.FrameworkElement)
public MethodGetValue (Inherited from System.Windows.DependencyObject)
public MethodInvalidateArrange (Inherited from System.Windows.UIElement)
public MethodInvalidateMeasure (Inherited from System.Windows.UIElement)
public MethodIsValidLinkThis predicate is called to determine whether a Northwoods.GoXam.Node may be reconnected by DropOnto.  
public MethodIsValidMemberThis predicate is called to determine whether a Northwoods.GoXam.Node may be added as a member of the Northwoods.GoXam.Groupgroup by DropOnto.  
public MethodMeasure (Inherited from System.Windows.UIElement)
public MethodMovePartsMove a collection of Northwoods.GoXam.Parts by a given offset.  
public MethodOnApplyTemplate (Inherited from System.Windows.FrameworkElement)
public MethodReadLocalValue (Inherited from System.Windows.DependencyObject)
public MethodReleaseMouseCapture (Inherited from System.Windows.UIElement)
public MethodRemoveHandler (Inherited from System.Windows.UIElement)
public MethodSetBinding (Inherited from System.Windows.FrameworkElement)
public MethodSetValue (Inherited from System.Windows.DependencyObject)
public MethodStopToolIf the Northwoods.GoXam.Diagram.CurrentTool is this tool, stop this tool and start the Northwoods.GoXam.Diagram.DefaultTool by making it be the new current tool. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodTransformToVisual (Inherited from System.Windows.UIElement)
public MethodUpdateAdornments The diagram asks each tool to update any adornments the tool might use for a given part. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodUpdateLayout (Inherited from System.Windows.UIElement)
Top

Protected Methods

 NameDescription
protected MethodArrangeOverride (Inherited from System.Windows.FrameworkElement)
protected MethodCaptureMouseThis calls UIElement.CaptureMouse on the DiagramTool.Diagram's Northwoods.GoXam.Diagram.Panel. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodComputeMove This method computes the new location for a node, given a new desired location and a dictionary of dragged parts.  
protected MethodConsiderDragOverDetermine if the currently dragged selection (DraggedParts or CopiedParts) would be valid to be dropped onto the target part p, depending on its Northwoods.GoXam.Part.DropOntoBehavior.  
protected MethodConsiderSnapToThis predicate is true if the given snapper node can control the movement of the given moving node.  
protected MethodDragOver Affect some stationary unselected objects that are under a given point, and consider auto-scrolling.  
protected MethodDropOnto Perform any additional side-effects after a drop.  
protected MethodFindAdornedElementGiven a handle element in an adornment, return its adornment's Northwoods.GoXam.Adornment.AdornedElement. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodFindAdornedPartGiven a handle element in an adornment, return its adornment's Northwoods.GoXam.Adornment.AdornedPart. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodFindAdornmentGiven a handle element, return its containing Northwoods.GoXam.Adornment. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodFindDraggablePartReturn the selectable and movable/copyable Northwoods.GoXam.Part at the mouse-down point.  
protected MethodFindElementUpFromOverloaded. Search up the chain of parent visual elements starting with the given element to find one for which pred is true (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodFindPartAtFind a Northwoods.GoXam.Part at the given point, perhaps requiring it to be Northwoods.GoXam.Part.Selectable. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodFindToolHandleAt Find an element at the given point that is a tool handle. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodGetWheelDelta Return how much the wheel has turned. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodIsAltKeyDown Return true when the alt key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodIsBeyondDragSize Return true when the last mouse point is far enough away from the first mouse down point to constitute a drag operation instead of just a potential click. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodIsControlKeyDown Return true when the control key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodIsDoubleClick Return true when the last mouse down event occurred very close to and very soon after the previous mouse down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodIsLeftButtonDown Return true when the left mouse button is pressed during a mouse button event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodIsRightButtonDown Return true when the right mouse button is pressed during a mouse button event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodIsShiftKeyDown Return true when the shift key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodMayCopy This predicate is true when the view allows objects to be copied and inserted, and some object in the diagram's selection is copyable, and the user is holding down the Control key.  
protected MethodMayMove This predicate is true when the view allows objects to be moved, and some object in the Selection is movable.  
protected MethodMeasureOverride (Inherited from System.Windows.FrameworkElement)
protected MethodOnCreateAutomationPeer (Inherited from System.Windows.UIElement)
protected MethodReleaseMouseThis calls UIElement.ReleaseMouseCapture on the DiagramTool.Diagram's Northwoods.GoXam.Diagram.Panel. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodSnapTo Compute the new location for a node, given another node that is controlling its movement.  
protected MethodStandardMouseSelectOverridden.  Don't have the Control modifier unselect an already selected part.  
protected MethodStandardMouseWheel Implement the standard behavior for mouse wheel events. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodStartTransactionCall Northwoods.GoXam.Diagram.StartTransaction with the given transaction name. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
protected MethodStopTransactionIf DiagramTool.TransactionResult is null, call Northwoods.GoXam.Diagram.RollbackTransaction, otherwise call Northwoods.GoXam.Diagram.CommitTransaction. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Top

Public Events

See Also

© 2010 All Rights Reserved.