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

GridViewHitInfoBase.Band Property

Gets a band located under the test object.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public BandBase Band { get; }

#Property Value

Type Description
BandBase

A BandBase object that represents the column located under the test object.

#Remarks

Use the Band property to obtain the band that is under the test object. If the test object belongs to a visual element that does not belong to any band, the Band property returns null (Nothing in Visual Basic).

To identify the type of a visual element that is under the test object, use the TableViewHitInfo.HitTest property (CardViewHitInfo.HitTest in a card view).

To learn more, see Hit Information.

See Also