MindFusion.Wpf Pack Programmer's Guide
DiagramView.AllowInplaceEdit Property
See Also
 





Gets or sets a value indicating whether in-place editing of the text of objects is enabled.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public bool AllowInplaceEdit { get; set; }

Visual Basic  Copy Code

Public Property AllowInplaceEdit As Boolean

 Property Value

true if in-place editing is allowed, or false otherwise. The default is false.

 Remarks

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 DiagramView.

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, LinkTextEdited or CellTextEdited event depending on the type of the edited item.

You can handle the EnterInplaceEditMode event to customize the properties of the built-in text box used as an editor, or to attach event handlers to it.

 See Also

DiagramView Members
DiagramView Class
MindFusion.Diagramming.Wpf Namespace