Table of Contents

Class ShapeTextEditRequestedEventArgs

Namespace
FlowGraph.Avalonia
Assembly
FlowGraph.Avalonia.dll

Event args for shape text edit request. Raised when a user double-clicks a shape (like a sticky note) to edit its text.

public class ShapeTextEditRequestedEventArgs : EventArgs
Inheritance
ShapeTextEditRequestedEventArgs
Inherited Members

Constructors

ShapeTextEditRequestedEventArgs(ShapeElement, string?, Point)

public ShapeTextEditRequestedEventArgs(ShapeElement shape, string? currentText, Point screenPosition)

Parameters

shape ShapeElement
currentText string
screenPosition Point

Properties

CurrentText

The current text value.

public string? CurrentText { 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

ScreenPosition

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

public Point ScreenPosition { get; }

Property Value

Point

Shape

The shape to edit.

public ShapeElement Shape { get; }

Property Value

ShapeElement