Class
TabStop

Defines a tab stop for paragraph text alignment at a specific position with optional leader characters; immutable once created.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Styles

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public class TabStop

Inheritance: objectTabStop

Constructors

TabStop(double)

Creates a left-aligned tab stop at the specified position with no leader.

Declaration

cs-api-definition
public TabStop(double position)

Parameters

position

double

The position in device independent pixels (1/96 inch).

TabStop(double, TabStopType)

Creates a tab stop at the specified position with the given alignment type and no leader.

Declaration

cs-api-definition
public TabStop(double position, TabStopType type)

Parameters

position

double

The position in device independent pixels (1/96 inch).

type

TabStopType

The tab stop type.

TabStop(double, TabStopType, TabStopLeader)

Creates a tab stop at the specified position with the given alignment type and leader character pattern.

Declaration

cs-api-definition
public TabStop(double position, TabStopType type, TabStopLeader leader)

Parameters

position

double

The position in device independent pixels (1/96 inch).

type

TabStopType

The tab stop type.

leader

TabStopLeader

The tab stop leader.

Properties

Leader

Gets the repeating character pattern displayed in the space before text reaches this tab stop.

Declaration

cs-api-definition
public TabStopLeader Leader { get; }

Property Value

TabStopLeader

The tab stop leader.

Position

Gets the horizontal position where text aligns when a tab character is encountered, measured in device independent pixels (1/96 inch).

Declaration

cs-api-definition
public double Position { get; }

Property Value

double

The position in points.

Type

Gets the alignment behavior applied to text at this tab stop position.

Declaration

cs-api-definition
public TabStopType Type { get; }

Property Value

TabStopType

The tab stop type.

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)

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()

Operators

operator !=(TabStop, TabStop)

Determines whether the specified tab stops are different.

Declaration

cs-api-definition
public static bool operator !=(TabStop tabStop, TabStop otherTabStop)

Parameters

tabStop

TabStop

otherTabStop

TabStop

Returns

bool

True if the tab stops are different.

operator ==(TabStop, TabStop)

Determines whether the specified tab stops are equal.

Declaration

cs-api-definition
public static bool operator ==(TabStop tabStop, TabStop otherTabStop)

Parameters

tabStop

TabStop

otherTabStop

TabStop

Returns

bool

True if the tab stops are equal.