Search
DiagramView.EnterInplaceEditMode Event
See Also
 






Raised when entering in-place edit mode.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 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

Gets a reference to the item being edited.

EditControl

Gets or sets the control used to edit the item's text.

 Remarks

By default, MindFusion.Diagramming creates an Editor control to let users edit item's text. This event allows customizing the properties of that control, or attaching event handlers to it. An Editor 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.

Note that you can use a custom control for in-place editing. This can be done by handling CreateEditControl and specifying what object should be used as an editor by assigning it to EditControl.

 See Also