windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-c3a4a618.md
Fires after the end-user closes the diagram item’s text editor.
Namespace : DevExpress.XtraDiagram
Assembly : DevExpress.XtraDiagram.v25.2.dll
NuGet Package : DevExpress.Win.Diagram
[DiagramCategory(DiagramCategory.DiagramItems)]
public event EventHandler<DiagramClosedEditorEventArgs> ClosedEditor
<DiagramCategory(DiagramCategory.DiagramItems)>
Public Event ClosedEditor As EventHandler(Of DiagramClosedEditorEventArgs)
The ClosedEditor event's data class is DiagramClosedEditorEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Item | Gets the item for which the text editor has been closed. |
| NewValue | Gets or sets the new shape text. |
| OldValue | Gets the previously assigned shape text. |
| ValueChanged | Gets whether the item’s text has been changed. |
The event’s ValueChanged read-only parameter returns whether the item’s text has been changed. The NewValue parameter returns the new text value and allows you to change it.
See Also