menu

WinForms

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

    Show / Hide Table of Contents

    Class BrushInfoColorList

    Represents a class that provides options to save list of System.Drawing.Color objects.

    Inheritance
    System.Object
    System.Collections.ArrayList
    BrushInfoColorList
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Collections.ArrayList.Adapter(System.Collections.IList)
    System.Collections.ArrayList.Add(System.Object)
    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.Capacity
    System.Collections.ArrayList.Clone()
    System.Collections.ArrayList.Contains(System.Object)
    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.Count
    System.Collections.ArrayList.FixedSize(System.Collections.ArrayList)
    System.Collections.ArrayList.FixedSize(System.Collections.IList)
    System.Collections.ArrayList.GetEnumerator()
    System.Collections.ArrayList.GetEnumerator(System.Int32, System.Int32)
    System.Collections.ArrayList.GetRange(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.Insert(System.Int32, System.Object)
    System.Collections.ArrayList.IsFixedSize
    System.Collections.ArrayList.IsReadOnly
    System.Collections.ArrayList.IsSynchronized
    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.ArrayList)
    System.Collections.ArrayList.ReadOnly(System.Collections.IList)
    System.Collections.ArrayList.Remove(System.Object)
    System.Collections.ArrayList.RemoveAt(System.Int32)
    System.Collections.ArrayList.Repeat(System.Object, System.Int32)
    System.Collections.ArrayList.Reverse()
    System.Collections.ArrayList.Reverse(System.Int32, System.Int32)
    System.Collections.ArrayList.SetRange(System.Int32, System.Collections.ICollection)
    System.Collections.ArrayList.Sort()
    System.Collections.ArrayList.Sort(System.Collections.IComparer)
    System.Collections.ArrayList.Sort(System.Int32, System.Int32, System.Collections.IComparer)
    System.Collections.ArrayList.Synchronized(System.Collections.ArrayList)
    System.Collections.ArrayList.Synchronized(System.Collections.IList)
    System.Collections.ArrayList.SyncRoot
    System.Collections.ArrayList.ToArray()
    System.Collections.ArrayList.ToArray(System.Type)
    System.Collections.ArrayList.TrimToSize()
    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.WinForms.Core
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class BrushInfoColorList : ArrayList, IList, ICollection, IEnumerable, ICloneable, ISerializable

    Constructors

    BrushInfoColorList()

    Initializes a new instance of the BrushInfoColorList class. Overloaded. Creates a new instance of this class.

    Declaration
    public BrushInfoColorList()

    BrushInfoColorList(Color[])

    Initializes a new instance of the BrushInfoColorList class with some colors.

    Declaration
    public BrushInfoColorList(Color[] colors)
    Parameters
    Type Name Description
    System.Drawing.Color[] colors

    An array of color objects

    BrushInfoColorList(SerializationInfo, StreamingContext)

    Initializes a new instance of the BrushInfoColorList class from a serialization stream.

    Declaration
    protected BrushInfoColorList(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    An object that holds all the data needed to serialize or deserialize this instance.

    System.Runtime.Serialization.StreamingContext context

    Describes the source and destination of the serialized stream specified by info.

    Properties

    Item[Int32]

    Gets or sets the color at the specified index.

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

    The index value.

    Property Value
    Type Description
    System.Drawing.Color

    Returns the color value.

    Methods

    Clear()

    Overridden. See System.Collections.ArrayList.Clear().

    Declaration
    public override void Clear()
    Overrides
    System.Collections.ArrayList.Clear()

    GetObjectData(SerializationInfo, StreamingContext)

    Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

    Declaration
    protected virtual void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo to populate with data.

    System.Runtime.Serialization.StreamingContext context

    The destination for this serialization.

    InsertRange(Int32, ICollection)

    Overridden. See System.Collections.ArrayList.InsertRange.

    Declaration
    public override void InsertRange(int index, ICollection c)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which the new elements should be inserted.

    System.Collections.ICollection c

    The System.Collections.ICollection whose elements should be inserted into the System.Collections.ArrayList. The collection itself cannot be null, but it can contain elements that are null.

    Overrides
    System.Collections.ArrayList.InsertRange(System.Int32, System.Collections.ICollection)

    RemoveRange(Int32, Int32)

    Overridden. See System.Collections.ArrayList.RemoveRange.

    Declaration
    public override void RemoveRange(int index, int count)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which the new elements should be inserted.

    System.Int32 count

    The number of elements to remove.

    Overrides
    System.Collections.ArrayList.RemoveRange(System.Int32, System.Int32)

    Explicit Interface Implementations

    ISerializable.GetObjectData(SerializationInfo, StreamingContext)

    Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

    Declaration
    void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo to populate with data.

    System.Runtime.Serialization.StreamingContext context

    The destination for this serialization.

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    System.Runtime.Serialization.ISerializable

    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