New to Telerik UI for WinForms? Start a free 30-day trial

Navigates the inline layout boxes that form a word, ignoring annotation markers when finding word boundaries.

Definition

Constructors

Initializes word-level navigation at an inline layout box. An invalid box is advanced to the next valid position.

C#
public WordPositionHandler(LayoutBox box)
Parameters:boxLayoutBox

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.

C#
public override bool CanMoveToNext { get; }

Overrides: ContainerPositionHandler.CanMoveToNext

Gets whether this handler can move to the previous position at its navigation level.

C#
public override bool CanMoveToPrevious { get; }

Overrides: ContainerPositionHandler.CanMoveToPrevious

Methods

Creates a copy of this handler's current navigation state.

C#
public override PositionHandler Clone()
Returns:

PositionHandler

A position handler representing the copied state.

Overrides: ContainerPositionHandler.Clone()

Creates a handler for the parent layout box, if one exists.

C#
public override PositionHandler GetParentHandler()
Returns:

PositionHandler

The parent handler, or null when this handler represents the root box.

Overrides: ContainerPositionHandler.GetParentHandler()

Moves to the first position represented by this handler.

C#
public override void MoveToFirst()

Overrides: ContainerPositionHandler.MoveToFirst()

Moves to the last position represented by this handler.

C#
public override void MoveToLast()

Overrides: ContainerPositionHandler.MoveToLast()

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.

C#
public void MoveToLastNonFormatting()

Advances to the next position at this handler's navigation level.

C#
public override void MoveToNext()

Overrides: ContainerPositionHandler.MoveToNext()

Moves to the previous position at this handler's navigation level.

C#
public override void MoveToPrevious()

Overrides: ContainerPositionHandler.MoveToPrevious()