Raised when entering in-place edit mode.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public event EventHandler<InPlaceEditEventArgs> EnterInplaceEditMode |
Visual Basic Copy Code |
---|
Public Event EnterInplaceEditMode As EventHandler(Of InPlaceEditEventArgs) |
EnterInplaceEditMode event handlers receive an argument of type InPlaceEditEventArgs. The following InPlaceEditEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
Gets a reference to the item being edited. | |
Gets or sets the control used to edit the item's text. |
By default, MindFusion.Diagramming creates an Editor control to let users edit item's text. This event allows customizing the properties of that control, or attaching event handlers to it. An Editor instance is created each time in-place editing starts, so it could be necessary to set its properties and register event handlers each time EnterInplaceEditMode is raised.
Note that you can use a custom control for in-place editing. This can be done by handling CreateEditControl and specifying what object should be used as an editor by assigning it to EditControl.
Diagramming for .NET MAUI Guide | © 2024 MindFusion |