/// <summary> /// Add default icon set. /// </summary> /// <param name="iconSetType"></param> /// <param name="showValue"></param> /// <returns></returns> public CFRule AddDefaultIconSet(IconSetType iconSetType = IconSetType.Item3Arrows, bool showValue = true) { CFRule rule = new CFRule(CFType.IconSet); rule.IconSet = IconSet.CreateDefaultIconSet(iconSetType, showValue); AddRule(rule); return(rule); }
/// <summary> /// Add created icon set. /// </summary> /// <param name="iconSet"></param> /// <returns></returns> public CFRule AddIconSet(IconSet iconSet) { CFRule rule = new CFRule(CFType.IconSet); rule.IconSet = iconSet; AddRule(rule); return(rule); }
public static IconSet CreateDefaultIconSet(IconSetType iconSetType = IconSetType.Item3Arrows, bool showValue = true) { IconSet iconSet = new IconSet(); iconSet.IconSetType = iconSetType; iconSet.CFVOList = GenerateCFVOs(iconSetType); iconSet.ShowValue = showValue; return(iconSet); }