EditNodeTextEventArgs
open class EditNodeTextEventArgs
Provides data for events raised when text of DiagramNode-s is edited.
-
Initializes a new instance of the EditNodeTextEventArgs class with the specified DiagramNode, old and new text.
Declaration
Swift
public init(node: DiagramNode, oldText: String, newText: String)Parameters
nodeThe DiagramNode that was editied.
oldTextThe text before the edit.
newTextThe text after the edit.
Return Value
The newly initialized EditNodeTextEventArgs object.
-
Specifies the text that had been displayed in the DiagramNode before the user edited it.
Declaration
Swift
open var oldText: String -
Specifies the text that had been displayed in the DiagramNode after the user edited it.
Declaration
Swift
open var newText: String -
Specifies the DiagramNode whose text has been edited.
Declaration
Swift
open var node: DiagramNode
EditNodeTextEventArgs Class Reference