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. |