RelinkingTool

StockSharp.Xaml.Diagram.GXDiagram.Tool

The RelinkingTool allows the user to reconnect an existing Link.

Hereda de: LinkingBaseTool

Propiedades

Handle : FrameworkElement

Gets or sets the relinking tool handle that the user is using (dragging).

Métodos

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.

UpdateAdornments(Part)

Show an Adornment for each end of the Link that the user may reconnect.

part