Builds a UI path for the selection mechanism in the Telerik document model.
Definition
Namespace:Telerik.Windows.Documents.Selection
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class SelectionUiPathBuilder
Inheritance: objectSelectionUiPathBuilder
Constructors
public SelectionUiPathBuilder(PathGeometry path)
Methods
Adds a paragraph box selection to the selection UI path builder.
public void AddParagraphBoxSelection(ParagraphLayoutBox layoutBox)
The paragraph layout box to be added to the selection.
Adds a paragraph selection to the selection UI path builder at the specified position within the document.
public void AddPositionParagraphSelection(ParagraphLayoutBox parentBox, DocumentPosition position, DocumentPosition endPosition, bool isFirstSelectionBlock)
The layout box of the paragraph to which the selection applies.
positionDocumentPositionThe starting position of the selection within the document.
endPositionDocumentPositionThe ending position of the selection within the document.
isFirstSelectionBlockboolA boolean value indicating whether the selection is collapsed.
Closes the current figure in the selection user interface path and starts a new figure.
public void CloseCurrentFigureAndStartNew()