The following tables list the members exposed by LinkingTool.
Name | Description | |
---|---|---|
LinkingTool Constructor |
Name | Description | |
---|---|---|
DirectionProperty | Identifies the Direction dependency property. |
Top
Name | Description | |
---|---|---|
Forwards | Gets or sets whether the linking operation is in the forwards direction. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
OriginalFromNode | Gets or sets the original node from which the link was connected. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
OriginalFromPort | Gets or sets the FrameworkElement that is the port from which the link was connected. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
OriginalLink | Gets or sets the original Northwoods.GoXam.Link being reconnected by the RelinkingTool. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
OriginalToNode | Gets or sets the original node to which the link was connected. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
OriginalToPort | Gets or sets the FrameworkElement that is the port to which the link was connected. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
StartPort | Gets or sets the port element at which the linking operation started. | |
TargetPort | Gets or sets a proposed FrameworkElement port for connecting a link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
TemporaryFromPort | Gets the element representing the port for the TemporaryFromNode. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
TemporaryToPort | Gets the element representing the port for the TemporaryToNode. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
TransactionResult | 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) | |
ValidPortsCache | Gets or sets the dictionary used to keep track of ports for which a link may be valid. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) |
Name | Description | |
---|---|---|
AddHandler | (Inherited from System.Windows.UIElement) | |
Arrange | (Inherited from System.Windows.UIElement) | |
CanStart | Overridden. 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. | |
ClearValue | (Inherited from System.Windows.DependencyObject) | |
DoActivate | Overridden. Start the linking operation. | |
DoCancel | The diagram will call this method when the user wishes to cancel the current tool's operation. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
DoDeactivate | Overridden. Finishing the linking operation stops the model edit and resets the cursor. | |
DoKeyDown | The diagram will call this method upon a key down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
DoKeyUp | The diagram will call this method upon a key up event. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
DoMouseDown | The diagram will call this method upon a mouse down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
DoMouseMove | The diagram will call this method upon a mouse move event. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
DoMouseUp | Overridden. A mouse-up ends the linking operation; if there is a valid TargetPort nearby, this calls IDiagramModel.AddLink to create a new link. | |
DoMouseWheel | The diagram will call this method as the mouse wheel is rotated. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
DoStart | This method is called by the diagram when this tool becomes the current tool. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
DoStop | Overridden. Clean up tool state. | |
FindName | (Inherited from System.Windows.FrameworkElement) | |
GetAnimationBaseValue | (Inherited from System.Windows.DependencyObject) | |
GetBindingExpression | (Inherited from System.Windows.FrameworkElement) | |
GetValue | (Inherited from System.Windows.DependencyObject) | |
InvalidateArrange | (Inherited from System.Windows.UIElement) | |
InvalidateMeasure | (Inherited from System.Windows.UIElement) | |
IsInSameNode | This predicate is true if both argument ports are in the same Northwoods.GoXam.Node. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
IsLinked | This predicate is true if there is a link in the model going from fromport to toport. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
IsValidFrom | This predicate is true if it is permissible to connect a link from a given node/port. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
IsValidLink | 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) | |
IsValidTo | This predicate is true if it is permissible to connect a link to a given node/port. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
Measure | (Inherited from System.Windows.UIElement) | |
OnApplyTemplate | (Inherited from System.Windows.FrameworkElement) | |
ReadLocalValue | (Inherited from System.Windows.DependencyObject) | |
ReleaseMouseCapture | (Inherited from System.Windows.UIElement) | |
RemoveHandler | (Inherited from System.Windows.UIElement) | |
SetBinding | (Inherited from System.Windows.FrameworkElement) | |
SetValue | (Inherited from System.Windows.DependencyObject) | |
StopTool | If 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) | |
TransformToVisual | (Inherited from System.Windows.UIElement) | |
UpdateAdornments | The diagram asks each tool to update any adornments the tool might use for a given part. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
UpdateLayout | (Inherited from System.Windows.UIElement) |
Name | Description | |
---|---|---|
ArrangeOverride | (Inherited from System.Windows.FrameworkElement) | |
CaptureMouse | This calls UIElement.CaptureMouse on the DiagramTool.Diagram's Northwoods.GoXam.Diagram.Panel. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
CopyPortProperties | Make a temporary port look and act like a real one. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
CreateTemporaryLink | Construct a Northwoods.GoXam.Link to act as a temporary link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
CreateTemporaryNode | Construct a Northwoods.GoXam.Node to act as a temporary node. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
FindAdornedElement | Given a handle element in an adornment, return its adornment's Northwoods.GoXam.Adornment.AdornedElement. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
FindAdornedPart | Given a handle element in an adornment, return its adornment's Northwoods.GoXam.Adornment.AdornedPart. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
FindAdornment | Given a handle element, return its containing Northwoods.GoXam.Adornment. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
FindElementUpFrom | Overloaded. 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) | |
FindLinkablePort | Return the element at the mouse-down point, if it is part of a node and if it is valid to link with it. | |
FindPartAt | Find a Northwoods.GoXam.Part at the given point, perhaps requiring it to be Northwoods.GoXam.Part.Selectable. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
FindTargetPort | Find a port with which the user could complete a valid link. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
FindToolHandleAt | Find an element at the given point that is a tool handle. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
GetWheelDelta | Return how much the wheel has turned. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
IsAltKeyDown | Return true when the alt key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
IsBeyondDragSize | 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) | |
IsControlKeyDown | Return true when the control key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
IsDoubleClick | 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) | |
IsLeftButtonDown | Return true when the left mouse button is pressed during a mouse button event. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
IsRightButtonDown | Return true when the right mouse button is pressed during a mouse button event. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
IsShiftKeyDown | Return true when the shift key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
MeasureOverride | (Inherited from System.Windows.FrameworkElement) | |
OnCreateAutomationPeer | (Inherited from System.Windows.UIElement) | |
ReleaseMouse | This calls UIElement.ReleaseMouseCapture on the DiagramTool.Diagram's Northwoods.GoXam.Diagram.Panel. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
SetNoTargetPortProperties | Reset temporary port properties to neutral values when there is no target port. (Inherited from Northwoods.GoXam.Tool.LinkingBaseTool) | |
StandardMouseSelect | Implement the standard behavior for selecting parts with the mouse, depending on the control and shift modifier keys. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
StandardMouseWheel | Implement the standard behavior for mouse wheel events. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
StartTransaction | Call Northwoods.GoXam.Diagram.StartTransaction with the given transaction name. (Inherited from Northwoods.GoXam.Tool.DiagramTool) | |
StopTransaction | If DiagramTool.TransactionResult is null, call Northwoods.GoXam.Diagram.RollbackTransaction, otherwise call Northwoods.GoXam.Diagram.CommitTransaction. (Inherited from Northwoods.GoXam.Tool.DiagramTool) |
Top