Open this page in the API Guide

DiagramStateStyle.legendText Property

Gets or sets the legend text for nodes that belong to this state.
 

Property Value

Type: String