/// <summary> /// Initializes the collection with the two color blend. /// </summary> /// <param name="collection">Collection to initialize.</param> /// <param name="backColor1">Solid Color</param> public static void InitializeCollection(BackgroundColorBlendCollection collection, Color backColor) { collection.Clear(); collection.Add(new BackgroundColorBlend(backColor, 0f)); }