Class
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:

cs-api-definition
public class TabStopCollection : IEnumerable<TabStop>, IEnumerable

Inheritance: objectTabStopCollection

Implements: IEnumerableIEnumerable<TabStop>

Constructors

TabStopCollection()

Creates an empty tab stop collection.

Declaration

cs-api-definition
public TabStopCollection()

TabStopCollection(IEnumerable<TabStop>)

Creates a tab stop collection containing the specified TabStop elements.

Declaration

cs-api-definition
public TabStopCollection(IEnumerable<TabStop> tabStops)

Parameters

tabStops

IEnumerable<TabStop>

The tab stops.

Properties

Count

Gets the number of tab stop elements in this collection.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

The count.

Methods

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<TabStop> GetEnumerator()

Returns

IEnumerator<TabStop>

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

Implements IEnumerable<TabStop>.GetEnumerator()

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()

Insert(TabStop)

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

Declaration

cs-api-definition
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

cs-api-definition
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

operator !=(TabStopCollection, TabStopCollection)

Determines whether the specified tab stop collections are different.

Declaration

cs-api-definition
public static bool operator !=(TabStopCollection tabStops, TabStopCollection otherTabStops)

Parameters

tabStops

TabStopCollection

otherTabStops

TabStopCollection

Returns

bool

True if the tab stop collections are different.

operator ==(TabStopCollection, TabStopCollection)

Determines whether the specified tab stop collections are equal.

Declaration

cs-api-definition
public static bool operator ==(TabStopCollection tabStops, TabStopCollection otherTabStops)

Parameters

tabStops

TabStopCollection

otherTabStops

TabStopCollection

Returns

bool

True if the tab stop collections are equal.