Class TabStopCollection
Represents a collection of TabStop elements. This class is immutable.
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()
TabStopCollection(IEnumerable<TabStop>)
Initializes a new instance of the TabStopCollection class with collection of given TabStop elements.
Declaration
public TabStopCollection(IEnumerable<TabStop> tabStops)
Parameters
System.Collections.Generic.IEnumerable<TabStop>
tabStops
The tab stops. |
Properties
Count
Gets the count of tab stop elements in the 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)
Returns a new instance of TabStopCollection class in which a specified tab stop is inserted.
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)
Returns a new instance of TabStopCollection class in which a specified tab stop is removed.
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. |