New to Telerik UI for WPFStart a free 30-day trial

Represents a handler for managing document word positions.

Definition

Constructors

C#
public WordPositionHandler(LayoutBox box)
Parameters:boxLayoutBox

Properties

Determines whether the document cursor can be moved to the next position within the Word document.

C#
public override bool CanMoveToNext { get; }

Overrides: ContainerPositionHandler.CanMoveToNext

Determines whether the WordPositionHandler can move to the previous position.

C#
public override bool CanMoveToPrevious { get; }

Overrides: ContainerPositionHandler.CanMoveToPrevious

Methods

Creates a clone of the current WordPositionHandler instance, producing a new instance with identical properties.

C#
public override PositionHandler Clone()
Returns:

PositionHandler

Overrides: ContainerPositionHandler.Clone()

Retrieves the parent handler associated with the current WordPositionHandler.

C#
public override PositionHandler GetParentHandler()
Returns:

PositionHandler

The parent WordPositionHandler, or null if no parent exists.

Overrides: ContainerPositionHandler.GetParentHandler()

Moves the position to the first element in the document.

C#
public override void MoveToFirst()

Overrides: ContainerPositionHandler.MoveToFirst()

Moves the position to the last element in the document.

C#
public override void MoveToLast()

Overrides: ContainerPositionHandler.MoveToLast()

Moves the cursor to the last non-formatting element in the document.

C#
public void MoveToLastNonFormatting()

Moves the position of the Word cursor to the next valid location in the document.

C#
public override void MoveToNext()

Overrides: ContainerPositionHandler.MoveToNext()

Moves the position to the previous element in the document.

C#
public override void MoveToPrevious()

Overrides: ContainerPositionHandler.MoveToPrevious()