DiagramLite Programmer's Guide
Diagram.AllowInplaceEdit Property
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 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, otherwise false. The default is false.

 Remarks

Specifies whether users are allowed to edit in-place text of diagram nodes. If enabled, a text-entry field appears at node's position when the node is double-clicked. In-place editing mode can be exited by clicking anywhere outside the text field. When this happens, the control raises NodeTextEdited if a DiagramNode has been edited, or LinkTextEdited if a DiagramLink has been edited.

To enter or exit in-place editing mode programmatically, use the BeginEdit and EndEdit methods of Diagram.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace