Skip to main content
A newer version of this page is available. .

RibbonHitInfo Class

Contains information about a specific point within a Ribbon Control.

Namespace: DevExpress.XtraBars.Ribbon.ViewInfo

Assembly: DevExpress.XtraBars.v18.1.dll

Declaration

public class RibbonHitInfo

Remarks

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RibbonHitInfo class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
RibbonHitInfo
See Also