ListCollection
Manages the collection of lists in a document, assigning unique IDs and tracking list definitions referenced by paragraphs.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Lists
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public sealed class ListCollection : IEnumerable<List>, IEnumerable
Inheritance: objectListCollection
Implements:
Methods
Adds the specified list to the collection, assigning it a unique ID and associating it with the document.
Creates a list from the specified predefined template, adds it to the collection, and returns the configured list.
public List Add(ListTemplateType listTemplate)
The list template.
Returns:The added list.
Removes all lists from the collection and clears list references from all paragraphs and styles.
public void Clear()
Returns an enumerator that iterates through the collection.
public IEnumerator<List> GetEnumerator()
A IEnumerator<T> that can be used to iterate through the collection.
Implements:
Removes the list with the specified ID and clears list references from all paragraphs and styles using it.
Removes the specified list and clears its references from all paragraphs and styles that use it.