Esempio n. 1
0
        protected internal PageOptionsButtonItem CloneAddThisButtonItem()
        {
            PageOptionsButtonItem newAddThisButtonItem = this.CreateAddThisButtonItem();

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

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

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