menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ParagraphItemCollection - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ParagraphItemCollection

    Represents the collection of ParagraphItem.

    Inheritance
    System.Object
    OwnerHolder
    CollectionImpl
    EntityCollection
    ParagraphItemCollection
    Implements
    IEntityCollectionBase
    ICollectionBase
    System.Collections.IEnumerable
    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.OnInsert(Int32, Entity)
    EntityCollection.Remove(IEntity)
    EntityCollection.RemoveAt(Int32)
    OwnerHolder.Document
    OwnerHolder.m_doc
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Portable.dll
    Syntax
    public class ParagraphItemCollection : EntityCollection, IEntityCollectionBase, ICollectionBase, IEnumerable

    Constructors

    ParagraphItemCollection(WordDocument)

    Initializes a new instance of the ParagraphItemCollection class with the specified WordDocument instance.

    Declaration
    public ParagraphItemCollection(WordDocument doc)
    Parameters
    Type Name Description
    WordDocument doc

    The WordDocument instance.

    Properties

    Item[Int32]

    Gets the ParagraphItem at the specified index from the collection. Read-only.

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

    The zero-based index of the paragraph item to get from the collection.

    Property Value
    Type Description
    ParagraphItem

    The ParagraphItem at the specified index.

    OwnerParagraph

    Gets the owner paragraph of this paragraph item. Read-only.

    Declaration
    protected WParagraph OwnerParagraph { get; }
    Property Value
    Type Description
    WParagraph

    The owner paragraph.

    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

    OnClear()

    Occurs when all items are removed.

    Declaration
    protected override void OnClear()
    Overrides
    EntityCollection.OnClear()

    OnInsertComplete(Int32, Entity)

    Occurs when entity is inserted.

    Declaration
    protected override void OnInsertComplete(int index, Entity entity)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index to insert the entity.

    Entity entity

    The Entity to insert.

    Overrides
    EntityCollection.OnInsertComplete(Int32, Entity)

    OnRemove(Int32)

    Occurs when entity is removed.

    Declaration
    protected override void OnRemove(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index to remove the entity.

    Overrides
    EntityCollection.OnRemove(Int32)

    Implements

    IEntityCollectionBase
    ICollectionBase
    System.Collections.IEnumerable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved