WordPositionHandler
Navigates the inline layout boxes that form a word, ignoring annotation markers when finding word boundaries.
Definition
Namespace:Telerik.WinForms.Documents
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class WordPositionHandler : ContainerPositionHandler
Inheritance: objectPositionHandlerContainerPositionHandlerWordPositionHandler
Inherited Members
Constructors
Initializes word-level navigation at an inline layout box. An invalid box is advanced to the next valid position.
public WordPositionHandler(LayoutBox box)
The inline layout box at or near the word position.
Properties
Gets whether this handler can advance to the next position at its navigation level.
public override bool CanMoveToNext { get; }
Overrides:
Gets whether this handler can move to the previous position at its navigation level.
public override bool CanMoveToPrevious { get; }
Overrides:
Methods
Creates a copy of this handler's current navigation state.
public override PositionHandler Clone()
A position handler representing the copied state.
Overrides:
Creates a handler for the parent layout box, if one exists.
public override PositionHandler GetParentHandler()
The parent handler, or null when this handler represents the root box.
Overrides:
Moves to the first position represented by this handler.
public override void MoveToFirst()
Overrides:
Moves to the last position represented by this handler.
public override void MoveToLast()
Overrides:
Moves to the last position, backs over annotation markers and formatting symbols while possible, then advances once if the final item is not a formatting symbol.
public void MoveToLastNonFormatting()
Advances to the next position at this handler's navigation level.
public override void MoveToNext()
Overrides:
Moves to the previous position at this handler's navigation level.
public override void MoveToPrevious()
Overrides: