static public Brush GetBrush(int index) { int i = index % LineColors.Count; return(LineColors.ElementAt(i).Key); }