PositionHandler
Provides one level of navigation through the layout boxes that make up a document position.
Definition
Namespace:Telerik.WinForms.Documents
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public abstract class PositionHandler
Inheritance: objectPositionHandler
Derived Classes:
Constructors
Initializes the handler for a layout box; debug builds assert that the box is not a clone.
public PositionHandler(LayoutBox box)
The layout box represented at this navigation level.
Properties
Gets the layout box represented by this handler.
public LayoutBox Box { get; protected set; }
Gets whether this handler can advance to the next position at its navigation level.
public abstract bool CanMoveToNext { get; }
Gets whether this handler can move to the previous position at its navigation level.
public abstract bool CanMoveToPrevious { get; }
Methods
Creates a copy of this handler's current navigation state.
public abstract PositionHandler Clone()
A position handler representing the copied state.
Determines whether another position handler represents the same layout box. Derived handlers may refine this comparison.
Creates a handler for the parent layout box, if one exists.
public abstract PositionHandler GetParentHandler()
The parent handler, or null when this handler represents the root box.
Moves to the first position represented by this handler.
public abstract void MoveToFirst()
Moves to the last position represented by this handler.
public abstract void MoveToLast()
Advances to the next position at this handler's navigation level.
public abstract void MoveToNext()
Moves to the previous position at this handler's navigation level.
public abstract void MoveToPrevious()