Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramControl.ClosedEditor Event

Fires after the end-user closes the diagram item’s text editor.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#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