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

NavBarHitInfo.InGroupCaption Property

Gets a value indicating whether the test point is over a group caption.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.dll

Declaration

public virtual bool InGroupCaption { get; }

Property Value

Type Description
Boolean

true if the test point is over a group caption; otherwise false.

Remarks

You can determine whether the test point is over a group (either its caption or client area). Use the NavBarHitInfo.InGroup property for this purpose. Note that if the test point is over a group caption, both the InGroupCaption and NavBarHitInfo.InGroup properties return true.

You can also determine whether the test point is over a group caption button (this is not supported in all paint styles). Use the NavBarHitInfo.HitTest property for this purpose.

Use the NavBarHitInfo.Group property to obtain the group over which the test point rests.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InGroupCaption property.

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.

See Also