ClassSpanBoxPositionHandler
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
SpanBoxPositionHandler(SpanBoxPositionHandler)
Declaration
public SpanBoxPositionHandler(SpanBoxPositionHandler toCopy)
Parameters
toCopy
SpanBoxPositionHandler(SpanLayoutBox)
Declaration
public SpanBoxPositionHandler(SpanLayoutBox spanBox)
Parameters
spanBox
Properties
CanMoveToNext
Determines whether the span box can be moved to the next position.
Declaration
public override bool CanMoveToNext { get; }
Property Value
Overrides
CanMoveToPrevious
Determines whether the span box can be moved to the previous position.
Declaration
public override bool CanMoveToPrevious { get; }
Property Value
Overrides
CurrentPositionInSpanBox
Gets the current position within the span box.
CurrentSpanBox
Gets the current span box being handled by the SpanBoxPositionHandler.
Declaration
public SpanLayoutBox CurrentSpanBox { get; }
Property Value
Methods
Clone()
Creates a duplicate of the current instance of the SpanBoxPositionHandler.
Declaration
public override PositionHandler Clone()
Returns
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.
GetHashCode()
Calculates a hash code for the current instance of the SpanBoxPositionHandler.
Declaration
public override int GetHashCode()
Returns
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.
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
A string that represents the current SpanBoxPositionHandler object.
Overrides