A collection of instances in .

Implements
  • ICollection<FormattedTextParagraph>
  • IEnumerable<FormattedTextParagraph>
  • IEnumerable

Gets the number of paragraphs in the collection.

public int Count { get; }

Gets the paragraph at the specified zero-based index.

public FormattedTextParagraph this[int index] { get; }

Adds a paragraph with the specified text and returns the representing the new paragraph.

public FormattedTextParagraph Add(string paragraphText)

Parameters

  • paragraphText: string

Returns any

Removes all paragraphs from the formatted text.

public void Clear()

Returns any

Determines whether the specified paragraph exists in the collection.

public bool Contains(FormattedTextParagraph paragraph)

Parameters

  • paragraph: FormattedTextParagraph

Returns any

Gets the enumerator to iterate over all paragraphs.

public IEnumerator<FormattedTextParagraph> GetEnumerator()

Returns any

Gets the zero-based index of the specified paragraph in the collection.

public int IndexOf(FormattedTextParagraph paragraph)

Parameters

  • paragraph: FormattedTextParagraph

Returns any

Inserts a paragraph with the specified text and returns the representing the new paragraph.

public FormattedTextParagraph Insert(int index, string paragraphText)

Parameters

  • index: int
  • paragraphText: string

Returns any

Removes the specified paragraph from the collection.

public bool Remove(FormattedTextParagraph paragraph)

Parameters

  • paragraph: FormattedTextParagraph

Returns any

Removes the paragraph at the specified zero-based index in the collection.

public void RemoveAt(int index)

Parameters

  • index: int

Returns any