Back to Devexpress

DiagramControl.ClosedEditor Event

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-c3a4a618.md

latest2.1 KB
Original Source

DiagramControl.ClosedEditor Event

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

Declaration

csharp
[DiagramCategory(DiagramCategory.DiagramItems)]
public event EventHandler<DiagramClosedEditorEventArgs> ClosedEditor
vb
<DiagramCategory(DiagramCategory.DiagramItems)>
Public Event ClosedEditor As EventHandler(Of DiagramClosedEditorEventArgs)

Event Data

The ClosedEditor event's data class is DiagramClosedEditorEventArgs. The following properties provide information specific to this event:

PropertyDescription
ItemGets the item for which the text editor has been closed.
NewValueGets or sets the new shape text.
OldValueGets the previously assigned shape text.
ValueChangedGets 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

IsTextEditMode

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace