Class CaptionLabelCollection
Collection of Labels used in the Form Caption
Inheritance
System.Object
CaptionLabelCollection
Assembly: Syncfusion.Shared.Base.dll
public class CaptionLabelCollection : CollectionBase
Constructors
Constructor for CaptionLabelCollection
Declaration
public CaptionLabelCollection(Form sender)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.Form |
sender |
|
Properties
Gets the index of for the label
Declaration
public CaptionLabel this[int index] { get; }
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Property Value
Methods
Adds the label type to the list
Declaration
public int Add(CaptionLabel itemType)
Parameters
Returns
Returns whether the list contains the label type
Declaration
public bool Contains(CaptionLabel itemType)
Parameters
Returns
searches the name in the list
Declaration
public CaptionLabel FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
Returns the index of the label type
Declaration
public int IndexOf(CaptionLabel itemType)
Parameters
Returns
Inserts the label type into the list
Declaration
public void Insert(int index, CaptionLabel itemType)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| CaptionLabel |
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 label type from the list
Declaration
public void Remove(CaptionLabel itemType)
Parameters