Contains information about a specific point within a Ribbon Control.
Related API Members
The following members accept/return RibbonHitInfo objects:
RibbonHitInfo objects can be created by calling the Ribbon Control’s RibbonControl.CalcHitInfo method. This method takes the test point as a parameter.
The properties provided by the RibbonHitInfo class can be grouped into two categories:
- the properties that identify the visual element which contains the test point. For instance, the RibbonHitInfo.InPageGroup property identifies whether the page group contains the test point;
- the RibbonHitInfo.HitTest property which allows the type of visual element located under the test point to be identified.