Search
DiagramView.LeaveInplaceEditMode Event
See Also
 





Raised when leaving inplace-edit mode.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public event EventHandler<InPlaceEditEventArgs> LeaveInplaceEditMode

Visual Basic  Copy Code

Public Event LeaveInplaceEditMode As EventHandler(Of InPlaceEditEventArgs)

 Event Data

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

Member name

Description

Item

The node or table cell whose text has been edited.

Node

The node whose text has been edited. If Item is a cell, this property returns the TableNode containing the cell.

EditControl

The control used to edit the text.

 Remarks

This event is raised in all situations that lead to closing the inplace-edit control, for example, when the user accepts or cancels the changes made to an item's text, or when the EndEdit method is called.

If you have created a custom edit control by handling the CreateEditControl event, EditControl refers to the custom editor. Otherwise, it is a simple TextBox.

 See Also