Search
DiagramView.DestroyEditControl Event
See Also
 





Raised to let you destroy a custom inplace editor control.

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

 Syntax

C#  Copy Code

public event EventHandler<InPlaceEditEventArgs> DestroyEditControl

Visual Basic  Copy Code

Public Event DestroyEditControl As EventHandler(Of InPlaceEditEventArgs)

 Event Data

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

Member name

Description

EditControl

Refers to the custom editor created by the CreateEditControl handler.

Item

Refers to the diagram element being edited.

Node

Refers to the node containing the element being edited (useful when editing a table cell).

 Remarks

This event is raised when the user clicks outside the editor, or when the EndEdit method is invoked. Handle it to hide or destroy the edit control. You might also implement the copying of values from the editor to the diagram item's properties in this event handler.

 See Also