skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class StructureElementsCollection

Represents a collection of structure elements.

Inheritance
System.Object
StructureElementsCollection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class StructureElementsCollection : IList<StructureElement>, ICollection<StructureElement>, IEnumerable<StructureElement>, IEnumerable

Properties

Count

Gets the number of elements contained in the collection.

Declaration
public int Count { get; }
Property Value
System.Int32

Implements
System.Collections.Generic.ICollection<T>.Count

IsReadOnly

Gets a value indicating whether the collection is read-only.

Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean

Implements
System.Collections.Generic.ICollection<T>.IsReadOnly

Item[Int32]

Gets or sets the StructureElement at the specified index.

Declaration
public StructureElement this[int index] { get; set; }
Parameters
System.Int32 index

The index.

Property Value
StructureElement

The structure element at the specified index.

Implements
System.Collections.Generic.IList<T>.Item[System.Int32]

Methods

AddStructureElement(String, StructureTagType)

Adds a new structure element with the specified custom tag and standard tag type.

Declaration
public StructureElement AddStructureElement(string customTag, StructureTagType tag)
Parameters
System.String customTag

The custom tag to assign to the new structure element.

StructureTagType tag

The standard structure tag type mapped to the custom tag.

Returns
StructureElement

The newly created StructureElement.

AddStructureElement(StructureTagType)

Adds a new StructureElement with the specified tag.

Declaration
public StructureElement AddStructureElement(StructureTagType tag)
Parameters
StructureTagType tag

The tag to associate with the structure element.

Returns
StructureElement

The newly created StructureElement.

Clear()

Removes all elements from the collection.

Declaration
public void Clear()
Implements
System.Collections.Generic.ICollection<T>.Clear()

Contains(StructureElement)

Determines whether the collection contains a specific value.

Declaration
public bool Contains(StructureElement item)
Parameters
StructureElement item

The structure element to locate in the collection.

Returns
System.Boolean

true if the structure element is found; otherwise, false.

Implements
System.Collections.Generic.ICollection<T>.Contains(T)

CopyTo(StructureElement[], Int32)

Copies the elements of the collection to an array, starting at a particular array index.

Declaration
public void CopyTo(StructureElement[] array, int arrayIndex)
Parameters
StructureElement[] array

The array to copy elements to.

System.Int32 arrayIndex

The zero-based index in the array at which copying begins.

Implements
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<StructureElement> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<StructureElement>

An enumerator for the collection.

Implements
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

IndexOf(StructureElement)

Determines the index of a specific item in the collection.

Declaration
public int IndexOf(StructureElement item)
Parameters
StructureElement item

The structure element to locate in the collection.

Returns
System.Int32

The index of the structure element if found; otherwise, -1.

Implements
System.Collections.Generic.IList<T>.IndexOf(T)

Insert(Int32, StructureElement)

Inserts a structure element at the specified index.

Declaration
public void Insert(int index, StructureElement item)
Parameters
System.Int32 index

The zero-based index at which the structure element should be inserted.

StructureElement item

The structure element to insert.

Implements
System.Collections.Generic.IList<T>.Insert(System.Int32, T)

Remove(StructureElement)

Removes the first occurrence of a specific structure element from the collection.

Declaration
public bool Remove(StructureElement item)
Parameters
StructureElement item

The structure element to remove.

Returns
System.Boolean

true if the structure element was successfully removed; otherwise, false.

Implements
System.Collections.Generic.ICollection<T>.Remove(T)

RemoveAt(Int32)

Removes the structure element at the specified index.

Declaration
public void RemoveAt(int index)
Parameters
System.Int32 index

The zero-based index of the structure element to remove.

Implements
System.Collections.Generic.IList<T>.RemoveAt(System.Int32)

Explicit Interface Implementations

ICollection<StructureElement>.Add(StructureElement)

Declaration
void ICollection<StructureElement>.Add(StructureElement element)
Parameters
StructureElement element

Implements
System.Collections.Generic.ICollection<T>.Add(T)

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

Implements
System.Collections.IEnumerable.GetEnumerator()
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.