Programmatically read a Container's Border Title

I have a Plain Titled Border container, and I would like to read its title through scripting.

I would like to read the Container’s title in a similar way as one would read a Label’s text. E.g. event.source.parent.getComponent("Label").text

I’ve read how to use toBorder() to create my border, but I haven’t found a way to read the title of such border.

Thanks.

<component>.getBorder().getTitle()

will return the title text of Plain, Line, or Titled Panel borders.

Thanks! :thumb_right: