DiagramControl.ClosedEditor Event
Fires after the end-user closes the diagram item’s text editor.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
Declaration
[DiagramCategory(DiagramCategory.DiagramItems)]
public event EventHandler<DiagramClosedEditorEventArgs> ClosedEditor
Event Data
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. |
Remarks
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