Golabeled link midlabel

hi all
How to set font color of the midlabel text object.
thanks & Regards

The GoLabeledLink FromLabel, MidLabel and ToLabel are GoObjects, and you can put any GoObject on the links. So, to set the font color on a GoText MidLabel object…

GoText mid = boxlnk1.MidLabel as GoText;
if (mid != null) mid.TextColor = Color.Red;