Click or drag to resize
DocumentPosition Class
Inheritance Hierarchy
SystemObject
  Telerik.Windows.DocumentsDocumentPosition

Namespace: Telerik.Windows.Documents
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class DocumentPosition : IComparable<DocumentPosition>, 
	IDisposable

The DocumentPosition type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAnchorToCurrentBoxIndex
Anchors the position to the current box index.
Public methodAnchorToNextFormattingSymbol
Anchors the position to the next formatting symbol.
Public methodCompareTo
Compares this position with another one.
Public methodDispose
Disposes this DocumentPosition
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodStatic memberFindFirstBoxForWord
Public methodStatic memberFindLastBoxForWord
Public methodGetCurrentInline
Gets the current Inline.
Public methodGetCurrentInlineBox
Gets the current InlineLayoutBox.
Public methodGetCurrentParagraphBox
Gets the current ParagraphLayoutBox.
Public methodGetCurrentPositionInSpan
Gets the current index in span.
Public methodGetCurrentSectionBox
Gets the current SectionLayoutBox.
Public methodGetCurrentSpanBox
Gets the current SpanLayoutBox.
Public methodGetCurrentTableBox
Gets the current TableLayoutBox.
Public methodGetCurrentTableCellBox
Gets the current TableCellLayoutBox.
Public methodGetCurrentTableRowBox
Gets the current TableRowLayoutBox.
Public methodGetCurrentWord
Gets the current word.
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetNextInline
Gets the next InlineLayout.
Public methodGetNextInlineBox
Gets the next InlineLayoutBox.
Public methodGetNextSpan
Gets the next SpanLayoutBox.
Public methodGetPreviousInline
Gets the previous Inline.
Public methodGetPreviousInlineBox
Gets the previous InlineLayoutBox.
Public methodGetPreviousSpanBox
Gets the previous SpanLayoutBox.
Public methodStatic memberIsAtCellEnd
Public methodStatic memberIsAtCellStart
Public methodStatic memberIsAtDocumentEnd
Public methodStatic memberIsAtDocumentStart
Public methodStatic memberIsAtParagraphEnd
Public methodStatic memberIsAtParagraphStart
Checks if a position is at the start of a paragraph.
Public methodStatic memberIsAtRowStart
Public methodMoveDown
Moves the position down.
Public methodMoveToCurrentLineEnd
Moves the position to the current line end.
Public methodMoveToCurrentLineStart
Moves the position to the current line start.
Public methodMoveToCurrentWordEnd
Moves the position to current word end.
Public methodMoveToCurrentWordStart
Moves the position to current word start.
Public methodMoveToEndOfDocumentElement
Moves the position to end of document element.
Public methodMoveToFirstPositionInDocument
Moves the position to first position in document.
Public methodMoveToFirstPositionInNextParagraph
Moves the position to first position in next paragraph.
Public methodMoveToFirstPositionInParagraph
Moves the position to first position in paragraph.
Public methodMoveToFirstPositionInPreviousParagraph
Moves the position to first position in previous paragraph.
Public methodMoveToFirstPositionInTableCell
Moves the position to first position in current table cell.
Public methodMoveToFirstPositionOnNextPage
Moves the position to first position on next page.
Public methodMoveToInline(Inline)
Moves the position to the start of inline.
Public methodMoveToInline(InlineLayoutBox, Int32)
Moves the position to InlineLayoutBox.
Public methodMoveToLastPositionInDocument
Moves the position to last position in document.
Public methodMoveToLastPositionInParagraph
Moves the position to last position in paragraph.
Public methodMoveToLastPositionInPreviousParagraph
Moves the position to last position in previous paragraph.
Public methodMoveToLastPositionInTableCell
Moves the position to last position in current table cell.
Public methodMoveToLastPositionOnPreviousPage
Moves the position to last position on previous page.
Public methodMoveToNext
Moves the position to next position in document.
Public methodMoveToNextInline
Moves the position to next InlineLayoutBox.
Public methodMoveToNextSpanBox
Moves the position to next SpanLayoutBox.
Public methodMoveToNextWordStart
Moves the position to next word start.
Public methodMoveToPage
Moves the position to the beginning of the page with the specified number.
Public methodMoveToPosition
Moves the position to specific position in document.
Public methodMoveToPrevious
Moves the position to previous position in document.
Public methodMoveToPreviousInline
Moves the position to previous InlineLayoutBox.
Public methodMoveToPreviousSpanBox
Moves the position to previous SpanLayoutBox.
Public methodMoveToPreviousWordStart
Moves the position to previous word start.
Public methodMoveToStartOfDocumentElement
Moves the position to start of document element.
Public methodMoveUp
Moves the position up.
Public methodMoveVertically
Moves the vertically.
Protected methodOnLocationChanged
Protected methodOnLocationChanging
Protected methodOnPositionChanged
Protected methodOnPositionChanging
Public methodRemoveAnchorFromNextFormattingSymbol
Removes the anchor to the next formatting symbol.
Public methodReset
Resets the position.
Public methodRestorePositionFromBoxIndex
Restores the position from the box index.
Public methodSetPosition
Sets the position to the nearest position to the point.
Public methodToString (Overrides ObjectToString.)
Top
Operators
Properties
  NameDescription
Public propertyIsPositionInsideTable
Gets a value indicating whether this position is inside table.
Public propertyLocation
Gets a value representing the layout position of this document position.
Top
Events
See Also