Skip to main content

LayoutViewHitInfo.InLayoutItem Property

Gets whether the test point is within any card’s item, except card fields.

Namespace: DevExpress.XtraGrid.Views.Layout.ViewInfo

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public virtual bool InLayoutItem { get; }

Property Value

Type Description
Boolean

true if a test point is within any card’s item, except card fields; otherwise, false.

Remarks

Fields in cards can be combined into groups and tabbed groups. In addition, you can add separators, labels and empty space items to cards. When the test point belongs to a group, tabbed group, separator, label or empty space item, the InLayoutItem property returns true. Otherwise, this property returns false. To access the layout item under the test point, use the LayoutViewHitInfo.LayoutItem property.

When the test point belongs to a card field, the InLayoutItem property returns false and the LayoutViewHitInfo.InField property returns true. To get the card field located under the test point, use the LayoutViewHitInfo.HitField property.

See Also