WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Bars - WindowsForms API Reference | Syncfusion Bar instances. ">

    Show / Hide Table of Contents

    Class Bars

    Holds a list of Bar instances.

    Inheritance
    System.Object
    System.Collections.ArrayList
    ArrayListExt
    Bars
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    System.IDisposable
    Inherited Members
    ArrayListExt.OnCollectionChanged(CollectionChangeEventArgs)
    ArrayListExt.OnCollectionChanging()
    ArrayListExt.ReleaseHandler(Object)
    ArrayListExt.RaiseCollectionChanged(CollectionChangeEventArgs)
    ArrayListExt.Insert(Int32, Object)
    ArrayListExt.InsertRange(Int32, ICollection)
    ArrayListExt.Clear()
    ArrayListExt.RemoveAt(Int32)
    ArrayListExt.RemoveRange(Int32, Int32)
    ArrayListExt.Sort(Int32, Int32, IComparer)
    ArrayListExt.Reverse(Int32, Int32)
    ArrayListExt.Move(Int32, Int32, Int32)
    ArrayListExt.SuspendEvents()
    ArrayListExt.ResumeEvents(Boolean)
    ArrayListExt.ForceReadOnly
    ArrayListExt.ForceFixedSize
    ArrayListExt.IsFixedSize
    ArrayListExt.IsReadOnly
    ArrayListExt.IsCollectionChangedEventSuspended
    ArrayListExt.CollectionChanged
    ArrayListExt.ItemPropertyChanged
    System.Collections.ArrayList.Adapter(System.Collections.IList)
    System.Collections.ArrayList.AddRange(System.Collections.ICollection)
    System.Collections.ArrayList.BinarySearch(System.Int32, System.Int32, System.Object, System.Collections.IComparer)
    System.Collections.ArrayList.BinarySearch(System.Object)
    System.Collections.ArrayList.BinarySearch(System.Object, System.Collections.IComparer)
    System.Collections.ArrayList.Clone()
    System.Collections.ArrayList.CopyTo(System.Array)
    System.Collections.ArrayList.CopyTo(System.Array, System.Int32)
    System.Collections.ArrayList.CopyTo(System.Int32, System.Array, System.Int32, System.Int32)
    System.Collections.ArrayList.FixedSize(System.Collections.IList)
    System.Collections.ArrayList.FixedSize(System.Collections.ArrayList)
    System.Collections.ArrayList.GetEnumerator()
    System.Collections.ArrayList.GetEnumerator(System.Int32, System.Int32)
    System.Collections.ArrayList.IndexOf(System.Object)
    System.Collections.ArrayList.IndexOf(System.Object, System.Int32)
    System.Collections.ArrayList.IndexOf(System.Object, System.Int32, System.Int32)
    System.Collections.ArrayList.LastIndexOf(System.Object)
    System.Collections.ArrayList.LastIndexOf(System.Object, System.Int32)
    System.Collections.ArrayList.LastIndexOf(System.Object, System.Int32, System.Int32)
    System.Collections.ArrayList.ReadOnly(System.Collections.IList)
    System.Collections.ArrayList.ReadOnly(System.Collections.ArrayList)
    System.Collections.ArrayList.Repeat(System.Object, System.Int32)
    System.Collections.ArrayList.Reverse()
    System.Collections.ArrayList.SetRange(System.Int32, System.Collections.ICollection)
    System.Collections.ArrayList.GetRange(System.Int32, System.Int32)
    System.Collections.ArrayList.Sort()
    System.Collections.ArrayList.Sort(System.Collections.IComparer)
    System.Collections.ArrayList.Synchronized(System.Collections.IList)
    System.Collections.ArrayList.Synchronized(System.Collections.ArrayList)
    System.Collections.ArrayList.ToArray()
    System.Collections.ArrayList.ToArray(System.Type)
    System.Collections.ArrayList.TrimToSize()
    System.Collections.ArrayList.Capacity
    System.Collections.ArrayList.Count
    System.Collections.ArrayList.IsSynchronized
    System.Collections.ArrayList.SyncRoot
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class Bars : ArrayListExt, IList, ICollection, IEnumerable, ICloneable, IDisposable
    Remarks

    Used by a BarManager class to hold a list of bar instances representing the tool bars.

    Examples

    Take a look at our XPMenus samples under the Tools\Samples\Menus Package folder for usage example.

    Constructors

    Bars()

    Creates a new instance of the Bars class.

    Declaration
    public Bars()

    Properties

    Item[Int32]

    Returns a bar instance at the specified index.

    Declaration
    public Bar this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index where a bar is searched for.

    Property Value
    Type Description
    Bar

    The bar at the specified index.

    Methods

    Add(Object)

    Overridden. See Add(Object).

    Declaration
    public override int Add(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type Description
    System.Int32
    Overrides
    ArrayListExt.Add(Object)

    AddHandlers(Object)

    Overridden. See AddHandlers(Object).

    Declaration
    protected override void AddHandlers(object item)
    Parameters
    Type Name Description
    System.Object item
    Overrides
    ArrayListExt.AddHandlers(Object)

    Contains(Object)

    Declaration
    public override bool Contains(object item)
    Parameters
    Type Name Description
    System.Object item
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Collections.ArrayList.Contains(System.Object)

    Dispose()

    Declaration
    public virtual void Dispose()

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnItemPropertyChanged(Object, SyncfusionPropertyChangedEventArgs)

    Overridden. See OnItemPropertyChanged(Object, SyncfusionPropertyChangedEventArgs).

    Declaration
    protected override void OnItemPropertyChanged(object sender, SyncfusionPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    SyncfusionPropertyChangedEventArgs e
    Overrides
    ArrayListExt.OnItemPropertyChanged(Object, SyncfusionPropertyChangedEventArgs)

    Remove(Object)

    Declaration
    public override void Remove(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Overrides
    System.Collections.ArrayList.Remove(System.Object)

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    System.IDisposable

    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 - 2022 Syncfusion Inc. All Rights Reserved