Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to show a ToolTip containing information about the document layout element located under the cursor position

$
0
0
This example demonstrates how to use the HitTestManager class to obtain document layout elements located under the specific point and show this information in the ToolTip.

Use the HitTestManager.HitTest method to get the RichEditHitTestResult object providing information about a specific document element which is located under the test point. Retrieve the layout element using the RichEditHitTestResult.LayoutElement property or obtain the hit information about the element positioned next to the current hit element using the RichEditHitTestResult.Next property. After that, display the required information about the document layout element in the ToolTip.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>