Gets or sets a value indicating whether in-place editing of the text of objects is enabled.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public bool AllowInplaceEdit { get; set; } |
Visual Basic
![]() |
---|
Public Property AllowInplaceEdit As Boolean |
true if in-place editing is allowed, otherwise false. The default is false.
Specifies whether users are allowed to edit in-place the content of a diagram element by double-clicking it. To enter or exit in-place edit mode programmatically, use the BeginEdit and EndEdit methods of Diagram.
By default, when an item is double-clicked, a text-entry field appears at the item's position. In-place editing mode can be exited by clicking anywhere outside the text-field. When this happens, the control raises the NodeTextEdited or LinkTextEdited event depending on the type of the edited item.
You can use the EnterInplaceEditMode event to customize the properties of the built-in text box used as an editor, or to attach event handlers to it.
MindFusion.Diagramming for WinUI Programmer's Guide | © 2024 MindFusion |