public static string ToGridHeaderString(this ClassificationSystem classificationSystem) { return (LabelWithSugarForExtensions.LabelWithSugarFor(classificationSystem, classificationSystem.ClassificationSystemName.Replace(" ", ""), LabelWithSugarForExtensions.DefaultPopupWidth, LabelWithSugarForExtensions.DisplayStyle.AsGridHeader, false, classificationSystem.ClassificationSystemName, classificationSystem.GetContentUrl()).ToString()); }
private static string ToGridHeaderString(this FieldDefinition fieldDefinition, int popupWidth, string fieldDefinitionDisplayName) { return (LabelWithSugarForExtensions.LabelWithSugarFor(fieldDefinition, LabelWithSugarForExtensions.DisplayStyle.AsGridHeader, fieldDefinitionDisplayName).ToString()); }