Handles the position of the span box in the document.
Definition
Namespace:Telerik.Windows.Documents
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class SpanBoxPositionHandler : InlineBoxPositionHandler
Inheritance: objectPositionHandlerInlineBoxPositionHandlerSpanBoxPositionHandler
Inherited Members
Constructors
public SpanBoxPositionHandler(SpanBoxPositionHandler toCopy)
Properties
Determines whether the span box can be moved to the next position.
public override bool CanMoveToNext { get; }
Overrides:
Determines whether the span box can be moved to the previous position.
public override bool CanMoveToPrevious { get; }
Overrides:
Gets the current position within the span box.
public int CurrentPositionInSpanBox { get; set; }
Gets the current span box being handled by the SpanBoxPositionHandler.
public SpanLayoutBox CurrentSpanBox { get; }
Methods
Creates a duplicate of the current instance of the SpanBoxPositionHandler.
public override PositionHandler Clone()
A new instance of SpanBoxPositionHandler that is a copy of the current instance.
Overrides:
Determines whether the specified object is equal to the current SpanBoxPositionHandler instance.
Calculates a hash code for the current instance of the SpanBoxPositionHandler.
public override int GetHashCode()
A hash code that is unique to the current instance of the SpanBoxPositionHandler.
Overrides:
Moves the position of the SpanBox to the first element.
public override void MoveToFirst()
Overrides:
Moves the position to the last span element in the current context.
public override void MoveToLast()
Overrides:
Moves the span box to the next position in the document.
public override void MoveToNext()
Overrides:
Moves the span box position to the previous available position.
public override void MoveToPrevious()
Overrides:
Returns a string representation of the current instance of the SpanBoxPositionHandler class.
public override string ToString()
A string that represents the current SpanBoxPositionHandler object.
Overrides: