A collection of instances in .
Inheritance
Implements
- ICollection<FormattedTextParagraph>
- IEnumerable<FormattedTextParagraph>
- IEnumerable
Properties
Section titled "Properties"Count
Section titled "Count"Gets the number of paragraphs in the collection.
public int Count { get; } this[int]
Section titled "this[int]"Gets the paragraph at the specified zero-based index.
public FormattedTextParagraph this[int index] { get; } Methods
Section titled "Methods"Add(string)
Section titled "Add(string)"Adds a paragraph with the specified text and returns the representing the new paragraph.
public FormattedTextParagraph Add(string paragraphText) Parameters
- paragraphText:
string
Returns any
Clear()
Section titled "Clear()"Removes all paragraphs from the formatted text.
public void Clear() Returns any
Contains(FormattedTextParagraph)
Section titled "Contains(FormattedTextParagraph)"Determines whether the specified paragraph exists in the collection.
public bool Contains(FormattedTextParagraph paragraph) Parameters
- paragraph:
FormattedTextParagraph
Returns any
GetEnumerator()
Section titled "GetEnumerator()"Gets the enumerator to iterate over all paragraphs.
public IEnumerator<FormattedTextParagraph> GetEnumerator() Returns any
IndexOf(FormattedTextParagraph)
Section titled "IndexOf(FormattedTextParagraph)"Gets the zero-based index of the specified paragraph in the collection.
public int IndexOf(FormattedTextParagraph paragraph) Parameters
- paragraph:
FormattedTextParagraph
Returns any
Insert(int, string)
Section titled "Insert(int, string)"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
Remove(FormattedTextParagraph)
Section titled "Remove(FormattedTextParagraph)"Removes the specified paragraph from the collection.
public bool Remove(FormattedTextParagraph paragraph) Parameters
- paragraph:
FormattedTextParagraph
Returns any
RemoveAt(int)
Section titled "RemoveAt(int)"Removes the paragraph at the specified zero-based index in the collection.
public void RemoveAt(int index) Parameters
- index:
int