Class ShapeTextEditRequestedEventArgs
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
shapeShapeElementcurrentTextstringscreenPositionPoint
Properties
CurrentText
The current text value.
public string? CurrentText { get; }
Property Value
Handled
Set to true to indicate the event was handled and no default behavior should occur.
public bool Handled { get; set; }
Property Value
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; }