Class
TabStop

Class representing tab stops in a RadDocument.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class TabStop : INotifyPropertyChanged

Inheritance: objectTabStop

Implements: INotifyPropertyChanged

Constructors

TabStop()

Initializes a new instance of the TabStop class.

Declaration

cs-api-definition
public TabStop()

TabStop(TabStopType, double, TabStopLeader)

Initializes a new instance of the TabStop class.

Declaration

cs-api-definition
public TabStop(TabStopType tabStopType, double position, TabStopLeader tabStopLeader = TabStopLeader.None)

Parameters

tabStopType

TabStopType

Type of the tab stop.

position

double

The position of the tab stop.

tabStopLeader

TabStopLeader

The tab stop leader.

Properties

Position

Gets or sets the position of the tab stop.

Declaration

cs-api-definition
[XamlSerializable]
public double Position { get; set; }

Property Value

double

The position.

TabStopLeader

Gets or sets the tab stop leader.

Declaration

cs-api-definition
[XamlSerializable(TabStopLeader.None)]
public TabStopLeader TabStopLeader { get; set; }

Property Value

TabStopLeader

The tab stop leader.

TabStopType

Gets or sets the type of the tab stop.

Declaration

cs-api-definition
[XamlSerializable]
public TabStopType TabStopType { get; set; }

Property Value

TabStopType

The type of the tab stop.

Methods

Clone()

Clones this instance.

Declaration

cs-api-definition
public TabStop Clone()

Returns

TabStop

The cloned instance.

Equals(object)

Determines whether the specified object, is equal to this instance.

Declaration

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

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides object.GetHashCode()

OnPropertyChanged(PropertyChangedEventArgs)

Raises the event. Called after changing a property value.

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)

Parameters

args

PropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

Events

PropertyChanged

Occurs after a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged

Operators

operator !=(TabStop, TabStop)

Implements the operator !=.

Declaration

cs-api-definition
public static bool operator !=(TabStop left, TabStop right)

Parameters

left

TabStop

The left.

right

TabStop

The right.

Returns

bool

The result of the operator.

operator ==(TabStop, TabStop)

Implements the operator ==.

Declaration

cs-api-definition
public static bool operator ==(TabStop left, TabStop right)

Parameters

left

TabStop

The left.

right

TabStop

The right.

Returns

bool

The result of the operator.