TabStop Struct
Represents a custom tab stop to be used on a line of text when there are one or more tab characters present within the text.
public struct TabStop : IEquatable<TabStop>
Public Structure TabStop
Implements IEquatable(Of TabStop)
Implements
Properties
Alignment
Gets the alignment that is to be applied to text using this tab stop.
public readonly TabStopAlignment Alignment { get; }
Public ReadOnly Property Alignment As TabStopAlignment
Property Value
The alignment that is to be applied to text using this tab stop.
Position
Gets the position of the tab stop relative to the left margin.
Property Value
The position of the tab stop relative to the left margin.
Methods
Equals(TabStop)
Parameters
other
- TabStop
The other tab stop to compare with this tab stop instance.
Returns
Equals(Object)
Determines whether the specified System.Object is equal to this TabStop instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
- System.Object
The System.Object to compare with this tab stop instance.
Returns
- System.Boolean
Overrides
GetHashCode()
Returns a hash code for this TabStop instance.
Returns
- System.Int32
An integer value that specifies a hash value for this TabStop instance.
Overrides
ToString()
Returns a System.String that represents this TabStop instance.
Returns
- System.String
A System.String that represents this TabStop instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
Operators
Equality(TabStop, TabStop)
Determines whether first
and second
TabStops are equal.
public static bool operator ==(TabStop first, TabStop second)
Public Shared Operator =(first As TabStop, second As TabStop) As Boolean
Parameters
first
- TabStop
The first tab stop.
second
- TabStop
The second tab stop.
Returns
- System.Boolean
true if first
and second
tab stops are equal; otherwise, false.
Inequality(TabStop, TabStop)
Determines whether first
and second
TabStops are not equal.
public static bool operator !=(TabStop first, TabStop second)
Public Shared Operator <>(first As TabStop, second As TabStop) As Boolean
Parameters
first
- TabStop
The first tab stop.
second
- TabStop
The second tab stop.
Returns
- System.Boolean
true if first
and second
tab stops are not equal; otherwise, false.