menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartToolBarButtonCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartToolBarButtonCollection

    Collection of System.Windows.Forms.Button instances.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    ChartToolBarButtonCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Windows.dll
    Syntax
    [Obsolete]
    public class ChartToolBarButtonCollection : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    ChartToolBarButtonCollection()

    Initializes a new instance of the ChartToolBarButtonCollection class.

    Declaration
    [Obsolete]
    public ChartToolBarButtonCollection()

    Properties

    Item[Int32]

    Gets or sets the item with the specified index.

    Declaration
    public Button this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type
    System.Windows.Forms.Button

    Methods

    Add(Button)

    Adds this button in the collection.

    Declaration
    public int Add(Button value)
    Parameters
    Type Name Description
    System.Windows.Forms.Button value
    Returns
    Type Description
    System.Int32

    The position into which the new element was inserted.

    Contains(Button)

    Indicates if this collection contains the specified button.

    Declaration
    public bool Contains(Button value)
    Parameters
    Type Name Description
    System.Windows.Forms.Button value

    The Element to locate in the Collections.

    Returns
    Type Description
    System.Boolean

    true if the Element is found in the Collection list; otherwise, false

    IndexOf(Button)

    Returns the index of this button.

    Declaration
    public int IndexOf(Button value)
    Parameters
    Type Name Description
    System.Windows.Forms.Button value

    The Element to locate in the Collections list.

    Returns
    Type Description
    System.Int32

    The index of value if found in the list; otherwise, -1.

    OnClearComplete()

    Performs additional custom processes after clearing the contents of the System.Collections.CollectionBase instance.

    Declaration
    protected override void OnClearComplete()
    Overrides
    System.Collections.CollectionBase.OnClearComplete()

    OnInsertComplete(Int32, Object)

    Performs additional custom processes after inserting a new element into the System.Collections.CollectionBase instance.

    Declaration
    protected override void OnInsertComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which to insert value.

    System.Object value

    The new value of the element at index.

    Overrides
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)

    OnRemove(Int32, Object)

    Performs additional custom processes when removing an element from the System.Collections.CollectionBase instance.

    Declaration
    protected override void OnRemove(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which value can be found.

    System.Object value

    The value of the element to remove from index.

    Overrides
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)

    Remove(Button)

    Removes the specified button from the collection.

    Declaration
    public void Remove(Button value)
    Parameters
    Type Name Description
    System.Windows.Forms.Button value

    The Element to remove from the collection.

    Events

    AddButton

    Event will be raised when a button is added this collection.

    Declaration
    public event ButtonCollectionEventHandler AddButton
    Event Type
    Type
    ButtonCollectionEventHandler

    ClearButtons

    Event will be raised when the collection is cleared.

    Declaration
    public event EventHandler ClearButtons
    Event Type
    Type
    System.EventHandler

    RemoveButton

    Event will be raised when a button is removed from this collection.

    Declaration
    public event ButtonCollectionEventHandler RemoveButton
    Event Type
    Type
    ButtonCollectionEventHandler

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved