RichEditHitTestResult.Reverse(RichEditHitTestResult) Method
In This Article
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 |
---|---|---|
original |
Rich |
An original Rich |
#Returns
Type | Description |
---|---|
Rich |
A new Rich |
#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