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

Represents a method that handles the positioning of paragraphs within a document.

Definition

Constructors

C#
public ParagraphPositionHandler(LayoutBox box)
Parameters:boxLayoutBox

Properties

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

C#
public override bool CanMoveToNext { get; }

Overrides: ContainerPositionHandler.CanMoveToNext

Determines whether the specified position can be moved to the previous position in the document.

C#
public override bool CanMoveToPrevious { get; }

Overrides: ContainerPositionHandler.CanMoveToPrevious

Methods

Retrieves the child position handler for the specified boolean parameter.

C#
public override PositionHandler GetChildPositionHandler(bool first)
Parameters:firstbool

Specifies whether to retrieve the handler for a child position.

Returns:

PositionHandler

Returns an instance of a child position handler if the parameter is true; otherwise, returns null.

Overrides: ContainerPositionHandler.GetChildPositionHandler(bool)

Moves the paragraph position to the first paragraph in the document.

C#
public override void MoveToFirst()

Overrides: ContainerPositionHandler.MoveToFirst()

Moves the current position of the paragraph to the last position in the document.

C#
public override void MoveToLast()

Overrides: ContainerPositionHandler.MoveToLast()

Moves the paragraph position to the next paragraph in the document.

C#
public override void MoveToNext()

Overrides: ContainerPositionHandler.MoveToNext()

Moves the position to the previous paragraph in the document.

C#
public override void MoveToPrevious()

Overrides: ContainerPositionHandler.MoveToPrevious()