Back to Devexpress

GridViewHitInfoBase.Band Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridviewhitinfobase-a8367a10.md

latest1.6 KB
Original Source

GridViewHitInfoBase.Band Property

Gets a band located under the test object.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public BandBase Band { get; }
vb
Public ReadOnly Property Band As BandBase

Property Value

TypeDescription
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

GridViewHitInfoBase Class

GridViewHitInfoBase Members

DevExpress.Xpf.Grid Namespace