WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartImageCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartImageCollection

    Collection of Image instances.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    ChartImageCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    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.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public class ChartImageCollection : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    ChartImageCollection()

    Initializes a new instance of the ChartImageCollection.

    Declaration
    public ChartImageCollection()

    ChartImageCollection(IList)

    Initializes a new instance of the ChartImageCollection with collection of images.

    Declaration
    public ChartImageCollection(IList source)
    Parameters
    Type Name Description
    System.Collections.IList source

    Collection of images to copy to array.

    Properties

    Item[Int32]

    Gets image by specified index in collection.

    Declaration
    public Image this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    System.Drawing.Image

    The position into which the new element was inserted.

    Methods

    Add(Image)

    Add image to collection.

    Declaration
    public int Add(Image image)
    Parameters
    Type Name Description
    System.Drawing.Image image

    Image to add.

    Returns
    Type Description
    System.Int32

    Index of added image.

    AddFromList(IList)

    Adds image from a list to the collection.

    Declaration
    public void AddFromList(IList list)
    Parameters
    Type Name Description
    System.Collections.IList list

    The list.

    AddRange(Image[])

    Adds an array of images to this collection.

    Declaration
    public void AddRange(Image[] image)
    Parameters
    Type Name Description
    System.Drawing.Image[] image

    Contains(Image)

    Check collection to constrains image.

    Declaration
    public bool Contains(Image image)
    Parameters
    Type Name Description
    System.Drawing.Image image

    Image to check.

    Returns
    Type Description
    System.Boolean

    True if collection constrains image, otherwise false.

    CopyTo(Image[], Int32)

    Copies the images to a one dimensional array starting at the specified index of the target array.

    Declaration
    public void CopyTo(Image[] images, int index)
    Parameters
    Type Name Description
    System.Drawing.Image[] images

    Destination array where the elements are to be stored.

    System.Int32 index

    Index value from which copy is to start.

    IndexOf(Image)

    Returns the index of the specified image.

    Declaration
    public int IndexOf(Image image)
    Parameters
    Type Name Description
    System.Drawing.Image image

    Image to get index.

    Returns
    Type Description
    System.Int32

    Index of given image. If collection doesn't constrains image return -1.

    Insert(Int32, Image)

    Inserts the image at the specified index.

    Declaration
    public void Insert(int index, Image image)
    Parameters
    Type Name Description
    System.Int32 index

    Index to insert image.

    System.Drawing.Image image

    Image to insert.

    MakeTransparent(Color)

    At this moment all images in this collection is Bitmaps and this color is transparent color.

    Declaration
    public void MakeTransparent(Color color)
    Parameters
    Type Name Description
    System.Drawing.Color color

    Color to make transparent.

    Remove(Image)

    Removes the image from the list.

    Declaration
    public void Remove(Image image)
    Parameters
    Type Name Description
    System.Drawing.Image image

    Image to remove.

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