Class TabStopCollection
Holds an immutable set of TabStop elements for a paragraph.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class TabStopCollection : IEnumerable<TabStop>, IEnumerable
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
|
System.Collections.Generic.IEnumerable<TabStop>
tabStops
The tab stops. |
Properties
Count
Gets the number of tab stop elements in this collection.
Declaration
public int Count { get; }
Property Value
|
System.Int32
The count. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The object to compare with the current object. |
Returns
|
System.Boolean
Returns |
Overrides
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<TabStop> GetEnumerator()
Returns
|
System.Collections.Generic.IEnumerator<TabStop>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |
Overrides
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
tabStop
The tab stop. |
Returns
|
TabStopCollection
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
tabStop
The tab stop. |
Returns
|
TabStopCollection
The tab stop collection from which the specified tab stop is removed. |
Operators
Equality(TabStopCollection, TabStopCollection)
Determines whether the specified tab stop collections are equal.
Declaration
public static bool operator ==(TabStopCollection tabStops, TabStopCollection otherTabStops)
Parameters
|
TabStopCollection
tabStops
|
|
TabStopCollection
otherTabStops
|
Returns
|
System.Boolean
True if the tab stop collections are equal. |
Inequality(TabStopCollection, TabStopCollection)
Determines whether the specified tab stop collections are different.
Declaration
public static bool operator !=(TabStopCollection tabStops, TabStopCollection otherTabStops)
Parameters
|
TabStopCollection
tabStops
|
|
TabStopCollection
otherTabStops
|
Returns
|
System.Boolean
True if the tab stop collections are different. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
|
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |