Name
ToolBar.ToolBarButtonCollection
Synopsis
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 }
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.