Skip to main content

GridViewHitInfoBase.Column Property

Gets a column located under the test object.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public GridColumn Column { get; }

Property Value

Type Description
GridColumn

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

Remarks

Use the Column property to obtain the column whose element (cell, header, etc.) is under the test object. If the test object belongs to a visual element that does not belong to any column, the Column 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