Exemplo n.º 1
0
 public void Insert(int index, CaptionLabel itemType)
 {
     itemType.SetOwner(Owner);
     if (string.IsNullOrEmpty(itemType.Name))
     {
         itemType.Name = GetUniqueName();
     }
     List.Insert(index, itemType);
 }
Exemplo n.º 2
0
 public int Add(CaptionLabel itemType)
 {
     itemType.SetOwner(Owner);
     if (string.IsNullOrEmpty(itemType.Name))
     {
         itemType.Name = GetUniqueName();
     }
     return(List.Add(itemType));
 }
Exemplo n.º 3
0
 public int IndexOf(CaptionLabel itemType)
 {
     return(List.IndexOf(itemType));
 }
Exemplo n.º 4
0
 public void Remove(CaptionLabel itemType)
 {
     List.Remove(itemType);
 }
Exemplo n.º 5
0
 public bool Contains(CaptionLabel itemType)
 {
     return(List.Contains(itemType));
 }