Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavBarHitInfo.InGroupCaption Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#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.

See Also