Skip to main content

DiagramControl.ShowingEditor Event

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public event EventHandler<DiagramShowingEditorEventArgs> ShowingEditor

Event Data

The ShowingEditor event's data class is DevExpress.Xpf.Diagram.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