ClassParagraphPositionHandler
Represents a method that handles the positioning of paragraphs within a document.
Definition
Namespace:Telerik.Windows.Documents
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ParagraphPositionHandler : ContainerPositionHandler
Inheritance: objectPositionHandlerContainerPositionHandlerParagraphPositionHandler
Inherited Members
Constructors
ParagraphPositionHandler(LayoutBox)
Declaration
public ParagraphPositionHandler(LayoutBox box)
Parameters
box
Properties
CanMoveToNext
Determines whether the position can be moved to the next paragraph within the document.
Declaration
public override bool CanMoveToNext { get; }
Property Value
Overrides
CanMoveToPrevious
Determines whether the specified position can be moved to the previous position in the document.
Declaration
public override bool CanMoveToPrevious { get; }
Property Value
Overrides
Methods
GetChildPositionHandler(bool)
Retrieves the child position handler for the specified boolean parameter.
Declaration
public override PositionHandler GetChildPositionHandler(bool first)
Parameters
first
Specifies whether to retrieve the handler for a child position.
Returns
Returns an instance of a child position handler if the parameter is true; otherwise, returns null.
Overrides
MoveToFirst()
Moves the paragraph position to the first paragraph in the document.
Declaration
public override void MoveToFirst()
Overrides
MoveToLast()
Moves the current position of the paragraph to the last position in the document.
Declaration
public override void MoveToLast()
Overrides
MoveToNext()
Moves the paragraph position to the next paragraph in the document.
Declaration
public override void MoveToNext()
Overrides
MoveToPrevious()
Moves the position to the previous paragraph in the document.
Declaration
public override void MoveToPrevious()
Overrides