Table of Contents

Class EdgeLabelEditRequestedEventArgs

Namespace
FlowGraph.Avalonia
Assembly
FlowGraph.Avalonia.dll

Event args for edge label edit request. Raised when a user double-clicks an edge label to edit it.

public class EdgeLabelEditRequestedEventArgs : EventArgs
Inheritance
EdgeLabelEditRequestedEventArgs
Inherited Members

Constructors

EdgeLabelEditRequestedEventArgs(Edge, string?, Point)

public EdgeLabelEditRequestedEventArgs(Edge edge, string? currentLabel, Point screenPosition)

Parameters

edge Edge
currentLabel string
screenPosition Point

Properties

CurrentLabel

The current label value.

public string? CurrentLabel { get; }

Property Value

string

Edge

The edge to edit.

public Edge Edge { get; }

Property Value

Edge

Handled

Set to true to indicate the event was handled and no default behavior should occur.

public bool Handled { get; set; }

Property Value

bool

ScreenPosition

The screen position of the label (for positioning an editor).

public Point ScreenPosition { get; }

Property Value

Point