EditLinkTextEventArgs

open class EditLinkTextEventArgs

Provides data for events raised when text of DiagramLink-s is edited.

  • Initializes a new instance of the EditLinkTextEventArgs class with the specified DiagramLink, old and new text.

    Declaration

    Swift

    public init(link: DiagramLink, oldText: String, newText: String)

    Parameters

    link

    The DiagramLink that was editied.

    oldText

    The text before the edit.

    newText

    The text after the edit.

    Return Value

    The newly initialized EditLinkTextEventArgs object.

  • Specifies the DiagramLink whose text has been edited.

    Declaration

    Swift

    open var link: DiagramLink
  • Specifies the text that had been displayed in the DiagramLink before the user edited it.

    Declaration

    Swift

    open var oldText: String
  • Specifies the text that had been displayed in the DiagramLink after the user edited it.

    Declaration

    Swift

    open var newText: String