public static string GetIconClassName(Icon icon) { return (icon != Icon.None) ? string.Format("icon-{0}-sbar", icon.ToString().ToLower()) : ""; }