示例#1
0
 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();
 }
示例#3
0
 public LegendItem()
 {
     Cells = new LegendCellCollection();
 }