Skip to main content

DocumentPosition.GreaterThan(DocumentPosition, DocumentPosition) Operator

Evaluates two DocumentPosition instances to determine if one instance is greater than the other.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public static bool operator>(DocumentPosition pos1, DocumentPosition pos2)

Parameters

Name Type Description
pos1 DocumentPosition

The first DocumentPosition instance to compare.

pos2 DocumentPosition

The second DocumentPosition instance to compare.

Returns

Type Description
Boolean

true, if the first instance is greater than the second; otherwise, false.

See Also