Class TabStop
Defines a tab stop for paragraph text alignment at a specific position with optional leader characters; immutable once created.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class TabStop
Constructors
TabStop(Double)
Creates a left-aligned tab stop at the specified position with no leader.
Declaration
public TabStop(double position)
Parameters
|
System.Double
position
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
public TabStop(double position, TabStopType type)
Parameters
|
System.Double
position
The position in device independent pixels (1/96 inch). |
|
TabStopType
type
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
public TabStop(double position, TabStopType type, TabStopLeader leader)
Parameters
|
System.Double
position
The position in device independent pixels (1/96 inch). |
|
TabStopType
type
The tab stop type. |
|
TabStopLeader
leader
The tab stop leader. |
Properties
Leader
Gets the repeating character pattern displayed in the space before text reaches this tab stop.
Declaration
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
public double Position { get; }
Property Value
|
System.Double
The position in points. |
Type
Gets the alignment behavior applied to text at this tab stop position.
Declaration
public TabStopType Type { get; }
Property Value
|
TabStopType
The tab stop type. |
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
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
Operators
Equality(TabStop, TabStop)
Determines whether the specified tab stops are equal.
Declaration
public static bool operator ==(TabStop tabStop, TabStop otherTabStop)
Parameters
|
TabStop
tabStop
|
|
TabStop
otherTabStop
|
Returns
|
System.Boolean
True if the tab stops are equal. |