public static string GetDisplayName(this HeatmapColor item) { switch (item) { case HeatmapColor.Cold: return("Heatmap - Cold Color"); case HeatmapColor.Mean: return("Heatmap - Mean Color"); case HeatmapColor.Hot: return("Heatmap - Hot Color"); } throw new NotImplementedException(); }
public (Color fg, Color bg, bool bold) GetInfo(HeatmapColor item) { ThreadHelper.ThrowIfNotOnUIThread(); return(GetInfo(item.GetDisplayName())); }