Raised to let you destroy a custom inplace editor control.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
SyntaxC#
Copy Code
|
|---|
public event EventHandler<InPlaceEditEventArgs> DestroyEditControl |
Visual Basic
Copy Code
|
|---|
Public Event DestroyEditControl As EventHandler(Of InPlaceEditEventArgs) |
Event DataDestroyEditControl event handlers receive an argument of type InPlaceEditEventArgs. The following InPlaceEditEventArgs members provide information relevant to the event.
Member name | Description |
|---|---|
Refers to the custom editor created by the CreateEditControl handler. | |
Refers to the diagram element being edited. | |
Refers to the node containing the element being edited (useful when editing a table cell). |
RemarksThis 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