protected string TextWithIcon(char icon, string text = null) { if (StringHelpers.IsNullOrEmpty(text)) { return icon + ""; } if (text.Length + 1 < StatusTextMaxlen) { return icon + " " + text; } return icon + text; }