Segment.Title

From Xojo Documentation

Property (As String )
aSegment.Title = newStringValue
or
StringValue = aSegment.Title

New in 2019r2

Supported for all project types and targets.

The title of the segment.