menu

WinForms

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

    Show / Hide Table of Contents

    Class ParagraphCollection

    Represents paragraph collection

    Inheritance
    System.Object
    System.Collections.CollectionBase
    EntityCollectionBase
    ParagraphCollection
    Implements
    IXDLSSerializableCollection
    IParagraphCollection
    ICollectionBase
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    EntityCollectionBase.Document
    EntityCollectionBase.DocumentEx
    EntityCollectionBase.GetItemType(IXDLSContentReader, Type, Object)
    EntityCollectionBase.IndexOf(IEntityBase)
    EntityCollectionBase.IXDLSSerializableCollection.AddNewItem(IXDLSContentReader)
    EntityCollectionBase.OnInsertComplete(Int32, Object)
    EntityCollectionBase.OnRemoveComplete(Int32, Object)
    EntityCollectionBase.OnSetComplete(Int32, Object, Object)
    EntityCollectionBase.RemoveOwner(EntityBase)
    EntityCollectionBase.UpdateOwner(EntityBase)
    EntityCollectionBase.UpdateRestrictedForItemOwner
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    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()
    Namespace: Syncfusion.DLS.Collections
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public class ParagraphCollection : EntityCollectionBase, IXDLSSerializableCollection, IParagraphCollection, ICollectionBase, IList, ICollection, IEnumerable

    Constructors

    ParagraphCollection(IEntityBase)

    Initializing constructor for specified owner

    Declaration
    protected ParagraphCollection(IEntityBase owner)
    Parameters
    Type Name Description
    IEntityBase owner

    Properties

    Item[Int32]

    Gets document by index

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

    Owner

    Gets collection owner

    Declaration
    protected ITextBody Owner { get; }
    Property Value
    Type
    ITextBody

    TagItemName

    Gets name of xml tag

    Declaration
    public override string TagItemName { get; }
    Property Value
    Type
    System.String
    Overrides
    EntityCollectionBase.TagItemName

    Methods

    Add(IParagraph)

    Adds paragraph to collection

    Declaration
    public int Add(IParagraph paragraph)
    Parameters
    Type Name Description
    IParagraph paragraph
    Returns
    Type
    System.Int32

    CreateItem(IXDLSContentReader)

    Declaration
    protected override object CreateItem(IXDLSContentReader reader)
    Parameters
    Type Name Description
    IXDLSContentReader reader
    Returns
    Type
    System.Object
    Overrides
    EntityCollectionBase.CreateItem(IXDLSContentReader)

    Insert(Int32, IParagraph)

    Inserts paragraph to specified position

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

    Implements

    IXDLSSerializableCollection
    IParagraphCollection
    ICollectionBase
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    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