RelinkingTool
StockSharp.Xaml.Diagram.GXDiagram.Tool
The RelinkingTool allows the user to reconnect an existing Link.
继承自: LinkingBaseTool
属性
Handle : FrameworkElement
Gets or sets the relinking tool handle that the user is using (dragging).
方法
CanStart() : bool
This tool can run when the diagram allows relinking, the model is modifiable, and there is a relink handle at the mouse-down point.
DoActivate()
Start the relinking operation.
DoDeactivate()
Finishing the relinking operation stops the model edit and resets the cursor.
DoMouseUp()
A mouse-up ends the relinking operation; if there is a valid TargetPort nearby, this calls Object) to delete the old link, and Object) to create the replacement link.
DoStop()
Clean up tool state.