Enables you to prevent an end-user from activating the editors of individual diagram items.
[DiagramCategory(DiagramCategory.DiagramItems)] public event EventHandler<DiagramShowingEditorEventArgs> ShowingEditor
<DiagramCategory(DiagramCategory.DiagramItems)> Public Event ShowingEditor As EventHandler(Of DiagramShowingEditorEventArgs)
The ShowingEditor event's data class is DevExpress.XtraDiagram.DiagramShowingEditorEventArgs.
The ShowingEditor event is raised before a diagram item's text editor is activated, allowing you to cancel the action and prevent the text from being edited. To do this, set the event parameter's Cancel property to false.