DiagramInteractionLayer

StockSharp.Xaml.Diagram.Controls

Renders transient selection and drag-and-drop feedback above diagram nodes.

Erbt von: Control

Implementiert: IDisposable

Eigenschaften

CopyPreview
public IReadOnlyList<Rect> CopyPreview { get; set; }
value = diagramInteractionLayer.CopyPreview
diagramInteractionLayer.CopyPreview = value

Gets or sets where the copies of dragged blocks land, while a drag with the control key copies them.

DragPreviewIconName
public string DragPreviewIconName { get; set; }
value = diagramInteractionLayer.DragPreviewIconName
diagramInteractionLayer.DragPreviewIconName = value

Gets or sets the shared Designer SVG icon shown in the drag preview.

DragPreviewRect
public Rect? DragPreviewRect { get; set; }
value = diagramInteractionLayer.DragPreviewRect
diagramInteractionLayer.DragPreviewRect = value

Gets or sets the palette drag-preview rectangle.

DragPreviewText
public string DragPreviewText { get; set; }
value = diagramInteractionLayer.DragPreviewText
diagramInteractionLayer.DragPreviewText = value

Gets or sets drag-preview text.

IsDropValid
public bool IsDropValid { get; set; }
value = diagramInteractionLayer.IsDropValid
diagramInteractionLayer.IsDropValid = value

Gets or sets whether current drop feedback is valid.

IsTemporaryLinkValid
public bool IsTemporaryLinkValid { get; set; }
value = diagramInteractionLayer.IsTemporaryLinkValid
diagramInteractionLayer.IsTemporaryLinkValid = value

Gets or sets whether the temporary connection target is valid.

SelectionRect
public Rect? SelectionRect { get; set; }
value = diagramInteractionLayer.SelectionRect
diagramInteractionLayer.SelectionRect = value

Gets or sets the active rubber-band selection rectangle.

TemporaryLinkEnd
public Point? TemporaryLinkEnd { get; set; }
value = diagramInteractionLayer.TemporaryLinkEnd
diagramInteractionLayer.TemporaryLinkEnd = value

Gets or sets the pointer endpoint of a temporary connection.

TemporaryLinkStart
public Point? TemporaryLinkStart { get; set; }
value = diagramInteractionLayer.TemporaryLinkStart
diagramInteractionLayer.TemporaryLinkStart = value

Gets or sets the fixed endpoint of a temporary connection.

Methoden

Clear
public void Clear()
diagramInteractionLayer.Clear()

Clears every transient feedback primitive.

Dispose
public void Dispose()
diagramInteractionLayer.Dispose()

Disposes of items in the pool that implement IDisposable.

Render
public override void Render(DrawingContext context)
diagramInteractionLayer.Render(context)