Skip to main content

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

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