ClassTabStopCollection
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
TabStopCollection()
Creates an empty tab stop collection.
Declaration
public TabStopCollection()
TabStopCollection(IEnumerable<TabStop>)
Creates a tab stop collection containing the specified TabStop elements.
Declaration
public TabStopCollection(IEnumerable<TabStop> tabStops)
Parameters
tabStops
The tab stops.
Properties
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<TabStop> GetEnumerator()
Returns
A IEnumerator<T> that can be used to iterate through the collection.
Implements
GetHashCode()
Serves as a hash function for a particular type.
Insert(TabStop)
Adds the specified tab stop and returns a new TabStopCollection instance containing all original and the new tab stop.
Declaration
public TabStopCollection Insert(TabStop tabStop)
Parameters
tabStop
The tab stop.
Returns
The tab stop collection containing the added tab stop.
Remove(TabStop)
Removes the specified tab stop and returns a new TabStopCollection instance without that tab stop.
Declaration
public TabStopCollection Remove(TabStop tabStop)
Parameters
tabStop
The tab stop.
Returns
The tab stop collection from which the specified tab stop is removed.
Operators
operator !=(TabStopCollection, TabStopCollection)
Determines whether the specified tab stop collections are different.
Declaration
public static bool operator !=(TabStopCollection tabStops, TabStopCollection otherTabStops)
Parameters
tabStops
otherTabStops
Returns
True if the tab stop collections are different.
operator ==(TabStopCollection, TabStopCollection)
Determines whether the specified tab stop collections are equal.
Declaration
public static bool operator ==(TabStopCollection tabStops, TabStopCollection otherTabStops)
Parameters
tabStops
otherTabStops
Returns
True if the tab stop collections are equal.