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


The following tables list the members exposed by LinkingTool.

Public Constructors

 NameDescription
public ConstructorLinkingTool Constructor  
Top

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)DirectionPropertyIdentifies the Direction 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 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 PropertyDirection Gets or sets the direction in which new links may be drawn.  
public PropertyDispatcher (Inherited from System.Windows.DependencyObject)
public PropertyEffect (Inherited from System.Windows.UIElement)
public PropertyFlowDirection (Inherited from System.Windows.FrameworkElement)
public PropertyHeight (Inherited from System.Windows.FrameworkElement)
public PropertyHorizontalAlignment (Inherited from System.Windows.FrameworkElement)
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 PropertyPortGravity Gets or sets the distance at which link snapping occurs. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
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 PropertyStartElementGets or sets the FrameworkElement at which FindLinkablePort should start its search.  
public PropertyStyle (Inherited from System.Windows.FrameworkElement)
public PropertyTag (Inherited from System.Windows.FrameworkElement)
public PropertyTemporaryFromNodeGets or sets the temporary Northwoods.GoXam.Node at the "from" end of the link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public PropertyTemporaryLinkGets or sets the temporary Northwoods.GoXam.Link that is shown while the user is drawing or reconnecting a link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public PropertyTemporaryLinkTemplateGets or sets the DataTemplate used to render the TemporaryLink. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public PropertyTemporaryNodeTemplateGets or sets the DataTemplate used to render the TemporaryFromNode and TemporaryToNode. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public PropertyTemporaryToNodeGets or sets the temporary Northwoods.GoXam.Node at the "to" end of the link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
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 PropertyForwards Gets or sets whether the linking operation is in the forwards direction. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected PropertyOriginalFromNode Gets or sets the original node from which the link was connected. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected PropertyOriginalFromPortGets or sets the FrameworkElement that is the port from which the link was connected. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected PropertyOriginalLinkGets or sets the original Northwoods.GoXam.Link being reconnected by the RelinkingTool. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected PropertyOriginalToNode Gets or sets the original node to which the link was connected. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected PropertyOriginalToPortGets or sets the FrameworkElement that is the port to which the link was connected. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected PropertyStartPort Gets or sets the port element at which the linking operation started.  
protected PropertyTargetPortGets or sets a proposed FrameworkElement port for connecting a link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected PropertyTemporaryFromPortGets the element representing the port for the TemporaryFromNode. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected PropertyTemporaryToPortGets the element representing the port for the TemporaryToNode. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
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)
protected PropertyValidPortsCache Gets or sets the dictionary used to keep track of ports for which a link may be valid. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
Top

Public Methods

 NameDescription
public MethodAddHandler (Inherited from System.Windows.UIElement)
public MethodArrange (Inherited from System.Windows.UIElement)
public MethodCanStartOverridden. This tool can run when the diagram allows linking, the model is modifiable, the left-button mouse drag has moved far enough away to not be click, and when FindLinkablePort has returned a valid port.  
public MethodClearValue (Inherited from System.Windows.DependencyObject)
public MethodDoActivateOverridden.  Start the linking operation.  
public MethodDoCancel The diagram will call this method when the user wishes to cancel the current tool's operation. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoDeactivateOverridden.  Finishing the linking operation stops the model edit and resets the cursor.  
public MethodDoKeyDown The diagram will call this method upon a key down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoKeyUp The diagram will call this method upon a key up event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoMouseDown The diagram will call this method upon a mouse down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoMouseMove The diagram will call this method upon a mouse move event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
public MethodDoMouseUpOverridden. A mouse-up ends the linking operation; if there is a valid TargetPort nearby, this calls IDiagramModel.AddLink to create a new link.  
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.  Clean up tool state.  
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 MethodIsInSameNodeThis predicate is true if both argument ports are in the same Northwoods.GoXam.Node. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public MethodIsLinkedThis predicate is true if there is a link in the model going from fromport to toport. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public MethodIsValidFrom This predicate is true if it is permissible to connect a link from a given node/port. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public MethodIsValidLink This predicate should be true when it is logically valid to connect a link from one node/port to another node/port. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public MethodIsValidTo This predicate is true if it is permissible to connect a link to a given node/port. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
public MethodMeasure (Inherited from System.Windows.UIElement)
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 MethodCopyPortProperties Make a temporary port look and act like a real one. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected MethodCreateTemporaryLinkConstruct a Northwoods.GoXam.Link to act as a temporary link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected MethodCreateTemporaryNodeConstruct a Northwoods.GoXam.Node to act as a temporary node. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
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 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 MethodFindLinkablePort Return the element at the mouse-down point, if it is part of a node and if it is valid to link with it.  
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 MethodFindTargetPort Find a port with which the user could complete a valid link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
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 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 MethodSetNoTargetPortProperties Reset temporary port properties to neutral values when there is no target port. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool)
protected MethodStandardMouseSelect Implement the standard behavior for selecting parts with the mouse, depending on the control and shift modifier keys. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
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

 NameDescription
public EventBindingValidationError (Inherited from System.Windows.FrameworkElement)
public EventDataContextChanged (Inherited from System.Windows.FrameworkElement)
public EventDragEnter (Inherited from System.Windows.UIElement)
public EventDragLeave (Inherited from System.Windows.UIElement)
public EventDragOver (Inherited from System.Windows.UIElement)
public EventDrop (Inherited from System.Windows.UIElement)
public EventGotFocus (Inherited from System.Windows.UIElement)
public EventKeyDown (Inherited from System.Windows.UIElement)
public EventKeyUp (Inherited from System.Windows.UIElement)
public EventLayoutUpdated (Inherited from System.Windows.FrameworkElement)
public EventLoaded (Inherited from System.Windows.FrameworkElement)
public EventLostFocus (Inherited from System.Windows.UIElement)
public EventLostMouseCapture (Inherited from System.Windows.UIElement)
public EventMediaCommand (Inherited from System.Windows.UIElement)
public EventMouseEnter (Inherited from System.Windows.UIElement)
public EventMouseLeave (Inherited from System.Windows.UIElement)
public EventMouseLeftButtonDown (Inherited from System.Windows.UIElement)
public EventMouseLeftButtonUp (Inherited from System.Windows.UIElement)
public EventMouseMove (Inherited from System.Windows.UIElement)
public EventMouseRightButtonDown (Inherited from System.Windows.UIElement)
public EventMouseRightButtonUp (Inherited from System.Windows.UIElement)
public EventMouseWheel (Inherited from System.Windows.UIElement)
public EventSizeChanged (Inherited from System.Windows.FrameworkElement)
public EventTextInput (Inherited from System.Windows.UIElement)
public EventTextInputStart (Inherited from System.Windows.UIElement)
public EventTextInputUpdate (Inherited from System.Windows.UIElement)
public EventUnloaded (Inherited from System.Windows.FrameworkElement)
Top

See Also

© 2012 All Rights Reserved.