New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class TabStopCollection : IEnumerable<TabStop>, IEnumerable

Inheritance: objectTabStopCollection

Implements: IEnumerableIEnumerable<TabStop>

Constructors

Creates an empty tab stop collection.

C#
public TabStopCollection()

Creates a tab stop collection containing the specified TabStop elements.

C#
public TabStopCollection(IEnumerable<TabStop> tabStops)
Parameters:tabStopsIEnumerable<TabStop>

The tab stops.

Methods

Determines whether the specified object is equal to the current object.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

Returns true if the specified object is equal to the current object; otherwise, false.

Overrides: object.Equals(object)

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<TabStop> GetEnumerator()
Returns:

IEnumerator<TabStop>

A IEnumerator<T> that can be used to iterate through the collection.

Implements: IEnumerable<TabStop>.GetEnumerator()

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()

Adds the specified tab stop and returns a new TabStopCollection instance containing all original and the new tab stop.

C#
public TabStopCollection Insert(TabStop tabStop)
Parameters:tabStopTabStop

The tab stop.

Returns:

TabStopCollection

The tab stop collection containing the added tab stop.

Removes the specified tab stop and returns a new TabStopCollection instance without that tab stop.

C#
public TabStopCollection Remove(TabStop tabStop)
Parameters:tabStopTabStop

The tab stop.

Returns:

TabStopCollection

The tab stop collection from which the specified tab stop is removed.

Operators

Determines whether the specified tab stop collections are different.

C#
public static bool operator !=(TabStopCollection tabStops, TabStopCollection otherTabStops)
Parameters:tabStopsTabStopCollectionotherTabStopsTabStopCollectionReturns:

bool

True if the tab stop collections are different.

Determines whether the specified tab stop collections are equal.

C#
public static bool operator ==(TabStopCollection tabStops, TabStopCollection otherTabStops)
Parameters:tabStopsTabStopCollectionotherTabStopsTabStopCollectionReturns:

bool

True if the tab stop collections are equal.

Properties

Gets the number of tab stop elements in this collection.

C#
public int Count { get; }
Property Value:

The count.