alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class CaptionLabelCollection

    Collection of Labels used in the Form Caption

    Inheritance
    System.Object
    CaptionLabelCollection
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class CaptionLabelCollection : CollectionBase

    Constructors

    CaptionLabelCollection(Form)

    Constructor for CaptionLabelCollection

    Declaration
    public CaptionLabelCollection(Form sender)
    Parameters
    Type Name Description
    System.Windows.Forms.Form sender

    Properties

    Item[Int32]

    Gets the index of for the label

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

    Methods

    Add(CaptionLabel)

    Adds the label type to the list

    Declaration
    public int Add(CaptionLabel itemType)
    Parameters
    Type Name Description
    CaptionLabel itemType
    Returns
    Type
    System.Int32

    Contains(CaptionLabel)

    Returns whether the list contains the label type

    Declaration
    public bool Contains(CaptionLabel itemType)
    Parameters
    Type Name Description
    CaptionLabel itemType
    Returns
    Type
    System.Boolean

    FindByName(String)

    searches the name in the list

    Declaration
    public CaptionLabel FindByName(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    CaptionLabel

    IndexOf(CaptionLabel)

    Returns the index of the label type

    Declaration
    public int IndexOf(CaptionLabel itemType)
    Parameters
    Type Name Description
    CaptionLabel itemType
    Returns
    Type
    System.Int32

    Insert(Int32, CaptionLabel)

    Inserts the label type into the list

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

    OnInsert(Int32, Object)

    Overrides the oninsert method

    Declaration
    protected override void OnInsert(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value

    Remove(CaptionLabel)

    Removes the label type from the list

    Declaration
    public void Remove(CaptionLabel itemType)
    Parameters
    Type Name Description
    CaptionLabel itemType
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved