DekGenius.com
[ Team LiB ] Previous Section Next Section

ToolBar.ToolBarButtonCollection

System.Windows.Forms (system.windows.forms.dll)class

This class represents a collection of buttons in a ToolBar control.

public class ToolBar.ToolBarButtonCollection : IList, ICollection, IEnumerable {
// Public Constructors
   public ToolBar.ToolBarButtonCollection(ToolBar owner);
// Public Instance Properties
   public int Count{get; }
// implements ICollection
   public bool IsReadOnly{get; }
// implements IList
   public virtual ToolBarButton this{set; get; }
// Public Instance Methods
   public int Add(string text);
   public int Add(ToolBarButton button);
   public void AddRange(ToolBarButton[ ] buttons);
   public void Clear();  // implements IList
   public bool Contains(ToolBarButton button);
   public IEnumerator GetEnumerator();  // implements IEnumerable
   public int IndexOf(ToolBarButton button);
   public void Insert(int index, ToolBarButton button);
   public void Remove(ToolBarButton button);
   public void RemoveAt(int index);  // implements IList
}
    [ Team LiB ] Previous Section Next Section