Example #1
0
 public void Remove(LegendCellColumn column)
 {
     if (column != null)
     {
         base.List.Remove(column);
     }
 }
Example #2
0
 private void AssignUniqueName(LegendCellColumn column)
 {
     if (column.Name.Length == 0)
     {
         string empty = string.Empty;
         int    num   = 1;
         do
         {
             empty = "Column" + num.ToString(CultureInfo.InvariantCulture);
             num++;
         }while (this.FindByName(empty) != null && num < 10000);
         column.Name = empty;
     }
 }
Example #3
0
        public LegendCellColumn FindByName(string name)
        {
            LegendCellColumn result = null;
            int num = 0;

            while (num < base.List.Count)
            {
                if (string.Compare(this[num].Name, name, false, CultureInfo.CurrentCulture) != 0)
                {
                    num++;
                    continue;
                }
                result = this[num];
                break;
            }
            return(result);
        }
Example #4
0
 public int IndexOf(LegendCellColumn value)
 {
     return(base.List.IndexOf(value));
 }
Example #5
0
 public bool Contains(LegendCellColumn value)
 {
     return(base.List.Contains(value));
 }
Example #6
0
 public void Insert(int index, LegendCellColumn column)
 {
     base.List.Insert(index, column);
 }
Example #7
0
 public int Add(LegendCellColumn column)
 {
     return(base.List.Add(column));
 }