Skip to main content

RibbonHitInfo Class

Contains information about a specific point within a Ribbon Control.

Namespace: DevExpress.XtraBars.Ribbon.ViewInfo

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public class RibbonHitInfo


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.


See Also