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

    node

    The DiagramNode that was editied.

    oldText

    The text before the edit.

    newText

    The 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