Skip to main content
A newer version of this page is available. .

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.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, 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