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.v20.1.dll

Declaration

public event EventHandler<DiagramShowingEditorEventArgs> ShowingEditor
Public Event ShowingEditor As EventHandler(Of DiagramShowingEditorEventArgs)

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