menu

WinForms

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

    Show / Hide Table of Contents

    Interface INamedImagesCollection

    Provides the read-write access functionality to the collection of the named images.

    Inherited Members
    System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.ICollection.Count
    System.Collections.ICollection.IsSynchronized
    System.Collections.ICollection.SyncRoot
    System.Collections.IEnumerable.GetEnumerator()
    Namespace: Syncfusion.Windows.Forms.Edit.Interfaces
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public interface INamedImagesCollection : ICollection, IEnumerable

    Properties

    Item[Int32]

    Gets the image by its index.

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

    Item[String]

    Gets the image by its name.

    Declaration
    INamedImage this[string index] { get; }
    Parameters
    Type Name Description
    System.String index
    Property Value
    Type
    INamedImage

    Methods

    AddImage(String, Image)

    Creates and adds a new named image to the collection.

    Declaration
    INamedImage AddImage(string name, Image image)
    Parameters
    Type Name Description
    System.String name

    Name of the image to be added.

    System.Drawing.Image image

    Image to be added.

    Returns
    Type Description
    INamedImage

    INamedImage object.

    AddImage(String, Image, Color)

    Creates and adds a new named image to the collection.

    Declaration
    INamedImage AddImage(string name, Image image, Color transparent)
    Parameters
    Type Name Description
    System.String name

    Name of the image to be added.

    System.Drawing.Image image

    Image to be added.

    System.Drawing.Color transparent

    Transparent color of the image.

    Returns
    Type Description
    INamedImage

    INamedImage object.

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    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