Skip to main content

RichEditHitTestResult.Reverse(RichEditHitTestResult) Method

Reverses the order of the elements in the hit test result.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v23.2.Core.dll

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

Declaration

public static RichEditHitTestResult Reverse(
    RichEditHitTestResult originalResult
)

Parameters

Name Type Description
originalResult RichEditHitTestResult

An original RichEditHitTestResult object.

Returns

Type Description
RichEditHitTestResult

A new RichEditHitTestResult object that is the hit test result with a reversed order of elements.

Remarks

The static method Reverse allows you to get a hit test result in reversed order. By default, the HitTestManager.HitTest method returns the hit test result with elements ordered from the node of the lowest level to the document root. Use the Reverse method to obtain a hit test result as a sequence of document elements ordered from the root to the nodes.

See Also