public void Insert(int index, CaptionLabel itemType) { itemType.SetOwner(Owner); if (string.IsNullOrEmpty(itemType.Name)) { itemType.Name = GetUniqueName(); } List.Insert(index, itemType); }
public int Add(CaptionLabel itemType) { itemType.SetOwner(Owner); if (string.IsNullOrEmpty(itemType.Name)) { itemType.Name = GetUniqueName(); } return(List.Add(itemType)); }
public int IndexOf(CaptionLabel itemType) { return(List.IndexOf(itemType)); }
public void Remove(CaptionLabel itemType) { List.Remove(itemType); }
public bool Contains(CaptionLabel itemType) { return(List.Contains(itemType)); }