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

RichEditHitTestResult.Reverse(RichEditHitTestResult) Method

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

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

#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