Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentPosition Operators

A position within a document.
Name Description
Equality(DocumentPosition, DocumentPosition) static Compares two DocumentPosition objects for equality.
GreaterThan(DocumentPosition, DocumentPosition) static Evaluates two DocumentPosition instances to determine if one instance is greater than the other.
GreaterThanOrEqual(DocumentPosition, DocumentPosition) static Evaluates two DocumentPosition instances to determine whether one instance is greater than or equal to the other.
Inequality(DocumentPosition, DocumentPosition) static Compares two DocumentPosition objects to determine whether they are not equal.
LessThan(DocumentPosition, DocumentPosition) static Evaluates two DocumentPosition instances to determine whether one instance is less than the other.
LessThanOrEqual(DocumentPosition, DocumentPosition) static Evaluates two DocumentPosition instances to determine whether one instance is less than or equal to the other.
See Also