Class CaptionImageCollection
Collection of Images used in the Form Caption
Inheritance
System.Object
CaptionImageCollection
Assembly: Syncfusion.Shared.Base.dll
public class CaptionImageCollection : CollectionBase
Constructors
Constructor for CaptionImageCollection
Declaration
public CaptionImageCollection(Form sender)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.Form |
sender |
|
Properties
Gets the index of for the CaptionImage
Declaration
public CaptionImage this[int index] { get; }
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Property Value
Methods
Adds the CaptionImage type to the list
Declaration
public int Add(CaptionImage itemType)
Parameters
Returns
Returns whether the list contains the CaptionImage type
Declaration
public bool Contains(CaptionImage itemType)
Parameters
Returns
searches the name in the list
Declaration
public CaptionImage FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
Returns the index of the CaptionImage type
Declaration
public int IndexOf(CaptionImage itemType)
Parameters
Returns
Inserts the CaptionImage type into the list
Declaration
public void Insert(int index, CaptionImage itemType)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| CaptionImage |
itemType |
|
Overrides the oninsert method
Declaration
protected override void OnInsert(int index, object value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.Object |
value |
|
Removes the CaptionImage type from the list
Declaration
public void Remove(CaptionImage itemType)
Parameters