Raised when leaving inplace-edit mode.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public event EventHandler<InPlaceEditEventArgs> LeaveInplaceEditMode |
Visual Basic Copy Code |
---|
Public Event LeaveInplaceEditMode As EventHandler(Of InPlaceEditEventArgs) |
LeaveInplaceEditMode event handlers receive an argument of type InPlaceEditEventArgs. The following InPlaceEditEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
The node or table cell whose text has been edited. | |
The node whose text has been edited. If Item is a cell, this property returns the TableNode containing the cell. | |
The TextBox control used to edit the text. |
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 WPF TextBox instance.
WpfDiagram Programmer's Guide | © 2024 MindFusion |