Class SpanBoxPositionHandler
Handles the position of the span box in the document.
Inherited Members
Namespace: Telerik.Windows.Documents
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class SpanBoxPositionHandler : InlineBoxPositionHandler
Constructors
SpanBoxPositionHandler(SpanLayoutBox)
SpanBoxPositionHandler(SpanBoxPositionHandler)
Declaration
public SpanBoxPositionHandler(SpanBoxPositionHandler toCopy)
Parameters
SpanBoxPositionHandler
toCopy
|
Properties
CanMoveToNext
Determines whether the span box can be moved to the next position.
Declaration
public override bool CanMoveToNext { get; }
Property Value
System.Boolean
|
Overrides
CanMoveToPrevious
Determines whether the span box can be moved to the previous position.
Declaration
public override bool CanMoveToPrevious { get; }
Property Value
System.Boolean
|
Overrides
CurrentPositionInSpanBox
Gets the current position within the span box.
Declaration
public int CurrentPositionInSpanBox { get; set; }
Property Value
System.Int32
|
CurrentSpanBox
Gets the current span box being handled by the SpanBoxPositionHandler.
Declaration
public SpanLayoutBox CurrentSpanBox { get; }
Property Value
SpanLayoutBox
|
Location
Represents the location of a span box in the document.
Declaration
public override PointF Location { get; }
Property Value
PointF
|
Overrides
Methods
Clone()
Creates a duplicate of the current instance of the SpanBoxPositionHandler.
Declaration
public override PositionHandler Clone()
Returns
PositionHandler
A new instance of SpanBoxPositionHandler that is a copy of the current instance. |
Overrides
Equals(Object)
Determines whether the specified object is equal to the current SpanBoxPositionHandler instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with the current instance. |
Returns
System.Boolean
true if the specified object is equal to the current instance; otherwise, false. |
Overrides
GetHashCode()
Calculates a hash code for the current instance of the SpanBoxPositionHandler.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code that is unique to the current instance of the SpanBoxPositionHandler. |
Overrides
MoveToFirst()
Moves the position of the SpanBox to the first element.
Declaration
public override void MoveToFirst()
Overrides
MoveToLast()
Moves the position to the last span element in the current context.
Declaration
public override void MoveToLast()
Overrides
MoveToLocation(PointF)
Moves the span box to the specified location.
Declaration
public bool MoveToLocation(PointF location)
Parameters
PointF
location
The point to which the span box should be moved. |
Returns
System.Boolean
Returns a boolean value indicating whether the move operation was successful. |
MoveToNext()
Moves the span box to the next position in the document.
Declaration
public override void MoveToNext()
Overrides
MoveToPrevious()
Moves the span box position to the previous available position.
Declaration
public override void MoveToPrevious()
Overrides
ToString()
Returns a string representation of the current instance of the SpanBoxPositionHandler class.
Declaration
public override string ToString()
Returns
System.String
A string that represents the current SpanBoxPositionHandler object. |