public LegendItem(string name, Color color, string image) { this.Name = name; this.Color = color; this.Image = image; Cells = new LegendCellCollection(); }
public static void ClearFast(this LegendCellCollection collection) { collection.SuspendUpdates(); while (collection.Count > 0) { collection.RemoveAt(collection.Count - 1); } collection.ResumeUpdates(); }
public LegendItem() { Cells = new LegendCellCollection(); }