TabStopCollection
Holds an immutable set of TabStop elements for a paragraph.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Styles
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class TabStopCollection : IEnumerable<TabStop>, IEnumerable
Inheritance: objectTabStopCollection
Implements:
Constructors
Creates an empty tab stop collection.
public TabStopCollection()
Creates a tab stop collection containing the specified TabStop elements.
public TabStopCollection(IEnumerable<TabStop> tabStops)
The tab stops.
Methods
Returns an enumerator that iterates through the collection.
public IEnumerator<TabStop> GetEnumerator()
A IEnumerator<T> that can be used to iterate through the collection.
Implements:
Adds the specified tab stop and returns a new TabStopCollection instance containing all original and the new tab stop.
public TabStopCollection Insert(TabStop tabStop)
The tab stop.
Returns:The tab stop collection containing the added tab stop.
Removes the specified tab stop and returns a new TabStopCollection instance without that tab stop.
public TabStopCollection Remove(TabStop tabStop)
The tab stop.
Returns:The tab stop collection from which the specified tab stop is removed.
Operators
Determines whether the specified tab stop collections are different.
public static bool operator !=(TabStopCollection tabStops, TabStopCollection otherTabStops)
True if the tab stop collections are different.
Determines whether the specified tab stop collections are equal.
public static bool operator ==(TabStopCollection tabStops, TabStopCollection otherTabStops)
True if the tab stop collections are equal.