menu

WinForms

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

    Show / Hide Table of Contents

    Class WTextBoxCollection

    Represents a collection of WTextBox objects.

    Inheritance
    System.Object
    OwnerHolder
    CollectionImpl
    XDLSSerializableCollection
    EntityCollection
    WTextBoxCollection
    Implements
    IXDLSSerializableCollection
    IEntityCollectionBase
    ICollectionBase
    System.Collections.IEnumerable
    IWTextBoxCollection
    Inherited Members
    CollectionImpl.Count
    CollectionImpl.GetEnumerator()
    EntityCollection.Add(IEntity)
    EntityCollection.Clear()
    EntityCollection.Contains(IEntity)
    EntityCollection.FirstItem
    EntityCollection.IndexOf(IEntity)
    EntityCollection.Insert(Int32, IEntity)
    EntityCollection.LastItem
    EntityCollection.OnClear()
    EntityCollection.OnInsert(Int32, Entity)
    EntityCollection.OnInsertComplete(Int32, Entity)
    EntityCollection.OnRemove(Int32)
    EntityCollection.Remove(IEntity)
    EntityCollection.RemoveAt(Int32)
    OwnerHolder.Document
    OwnerHolder.m_doc
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    XDLSSerializableCollection.IXDLSSerializableCollection.AddNewItem(IXDLSContentReader)
    XDLSSerializableCollection.IXDLSSerializableCollection.TagItemName
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public class WTextBoxCollection : EntityCollection, IXDLSSerializableCollection, IEntityCollectionBase, ICollectionBase, IEnumerable, IWTextBoxCollection

    Constructors

    WTextBoxCollection(IWordDocument)

    Initializes a new instance of the WTextBoxCollection class with the specified IWordDocument instance.

    Declaration
    public WTextBoxCollection(IWordDocument doc)
    Parameters
    Type Name Description
    IWordDocument doc

    The IWordDocument instance.

    Properties

    Item[Int32]

    Gets the IWTextBox at the specified index. Read-only.

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

    The zero-based index of the text box to get from the collection.

    Property Value
    Type Description
    IWTextBox

    The text box at the specified index.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The index is not valid in the WTextBoxCollection.

    TypesOfElement

    Gets the type of the elements present in the collection.

    Declaration
    protected override Type[] TypesOfElement { get; }
    Property Value
    Type Description
    System.Type[]

    The System.Type collection that contains the types of the elements.

    Overrides
    EntityCollection.TypesOfElement

    Methods

    Add(IWTextBox)

    Adds the specified textbox to the collection.

    Declaration
    public int Add(IWTextBox textBox)
    Parameters
    Type Name Description
    IWTextBox textBox

    The text box to be added.

    Returns
    Type Description
    System.Int32

    The zero-based index of the text box.

    CreateItem(IXDLSContentReader)

    Creates a new item.

    Declaration
    protected override OwnerHolder CreateItem(IXDLSContentReader reader)
    Parameters
    Type Name Description
    IXDLSContentReader reader

    The IXDLSContentReader object.

    Returns
    Type Description
    OwnerHolder

    The OwnerHolder object.

    Overrides
    XDLSSerializableCollection.CreateItem(IXDLSContentReader)

    GetTagItemName()

    Gets the name of xml tag.

    Declaration
    protected override string GetTagItemName()
    Returns
    Type Description
    System.String

    The string that specifies the tag name.

    Overrides
    XDLSSerializableCollection.GetTagItemName()

    Implements

    IXDLSSerializableCollection
    IEntityCollectionBase
    ICollectionBase
    System.Collections.IEnumerable
    IWTextBoxCollection

    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