DiagramLite Programmer's Guide
DiagramBase.EnterInplaceEditMode Event
See Also
 





Raised when entering inplace-edit mode.

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

 Syntax

C#  Copy Code

public event EventHandler<InPlaceEditEventArgs> EnterInplaceEditMode

Visual Basic  Copy Code

Public Event EnterInplaceEditMode As EventHandler(Of InPlaceEditEventArgs)

 Event Data

EnterInplaceEditMode event handlers receive an argument of type InPlaceEditEventArgs. The following InPlaceEditEventArgs members provide information relevant to the event:

Member name

Description

Item

The item or table cell whose text will be edited.

Node

The node whose text will be edited. If Item is a cell, this property returns the TableNode that contains that cell.

TextBox

The TextBox control where the user can edit the text.

 Remarks

This event allows setting properties of the TextBox control used for in-place editing or attaching custom event handlers to that control. A TextBox instance is created each time in-place editing starts, so it could be necessary to set its properties and register event handlers each time EnterInplaceEditMode is raised.

 See Also

DiagramBase Members
DiagramBase Class
MindFusion.Diagramming Namespace
AllowInplaceEdit Property
LeaveInplaceEditMode Event