Skip to main content

DiagramControl.ShowingEditor Event

Enables you to prevent an end-user from activating the editors of individual diagram items.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DiagramCategory(DiagramCategory.DiagramItems)]
public event EventHandler<DiagramShowingEditorEventArgs> ShowingEditor

Event Data

The ShowingEditor event's data class is DevExpress.XtraDiagram.DiagramShowingEditorEventArgs.

Remarks

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.

See Also