Exemple #1
0
        protected internal AddThisButtonItem CloneAddThisButtonItem()
        {
            AddThisButtonItem newAddThisButtonItem = this.CreateAddThisButtonItem();

            this.CopyProperties(newAddThisButtonItem);
            return(newAddThisButtonItem);
        }
Exemple #2
0
        protected override void OnRemoveComplete(int index, object value)
        {
            AddThisButtonItem buttonItem = value as AddThisButtonItem;

            if (buttonItem != null)
            {
                buttonItem.ButtonItemChanged += new EventHandler(this.ButtonItemCollectionChanged);
            }

            this.OnButtonItemCollectionChanged();
        }
Exemple #3
0
 public void Removed(AddThisButtonItem buttonItem)
 {
     ((IList)this).Remove(buttonItem);
 }
Exemple #4
0
 public void Insert(int index, AddThisButtonItem buttonItem)
 {
     ((IList)this).Insert(index, buttonItem);
 }
Exemple #5
0
 public int IndexOf(AddThisButtonItem buttonItem)
 {
     return(((IList)this).IndexOf(buttonItem));
 }
Exemple #6
0
 public bool Contains(AddThisButtonItem buttonItem)
 {
     return(((IList)this).Contains(buttonItem));
 }
Exemple #7
0
 public void Add(AddThisButtonItem buttonItem)
 {
     ((IList)this).Add(buttonItem);
 }
Exemple #8
0
 protected void CopyProperties(AddThisButtonItem newAddThisButtonItem)
 {
     ((AddThisButtonItem)newAddThisButtonItem).Service = this.Service;
 }