Class
ParagraphPositionHandler

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

Definition

Constructors

ParagraphPositionHandler(LayoutBox)

Declaration

cs-api-definition
public ParagraphPositionHandler(LayoutBox box)

Parameters

box

LayoutBox

Properties

CanMoveToNext

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

Declaration

cs-api-definition
public override bool CanMoveToNext { get; }

Property Value

bool

Overrides ContainerPositionHandler.CanMoveToNext

CanMoveToPrevious

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

Declaration

cs-api-definition
public override bool CanMoveToPrevious { get; }

Property Value

bool

Overrides ContainerPositionHandler.CanMoveToPrevious

Methods

GetChildPositionHandler(bool)

Retrieves the child position handler for the specified boolean parameter.

Declaration

cs-api-definition
public override PositionHandler GetChildPositionHandler(bool first)

Parameters

first

bool

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)

MoveToFirst()

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

Declaration

cs-api-definition
public override void MoveToFirst()

Overrides ContainerPositionHandler.MoveToFirst()

MoveToLast()

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

Declaration

cs-api-definition
public override void MoveToLast()

Overrides ContainerPositionHandler.MoveToLast()

MoveToNext()

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

Declaration

cs-api-definition
public override void MoveToNext()

Overrides ContainerPositionHandler.MoveToNext()

MoveToPrevious()

Moves the position to the previous paragraph in the document.

Declaration

cs-api-definition
public override void MoveToPrevious()

Overrides ContainerPositionHandler.MoveToPrevious()