Table of Contents

Class NodeLabelEditRequestedEventArgs

Namespace
FlowGraph.Avalonia
Assembly
FlowGraph.Avalonia.dll

Event args for node label edit request. Raised when a user double-clicks a node to edit its label.

public class NodeLabelEditRequestedEventArgs : EventArgs
Inheritance
NodeLabelEditRequestedEventArgs
Inherited Members

Constructors

NodeLabelEditRequestedEventArgs(Node, string?, Point)

public NodeLabelEditRequestedEventArgs(Node node, string? currentLabel, Point screenPosition)

Parameters

node Node
currentLabel string
screenPosition Point

Properties

CurrentLabel

The current label value.

public string? CurrentLabel { get; }

Property Value

string

Handled

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

public bool Handled { get; set; }

Property Value

bool

Node

The node to edit.

public Node Node { get; }

Property Value

Node

ScreenPosition

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

public Point ScreenPosition { get; }

Property Value

Point