Back to Devexpress

CardHitInfo.Column Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-card-dot-viewinfo-dot-cardhitinfo.md

latest2.1 KB
Original Source

CardHitInfo.Column Property

Gets or sets the column located under the test point.

Namespace : DevExpress.XtraGrid.Views.Card.ViewInfo

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public GridColumn Column { get; set; }
vb
Public Property Column As GridColumn

Property Value

TypeDescription
GridColumn

A GridColumn object representing the column that contains the test point. null ( Nothing in Visual Basic) if the test point is over a visual element (card, card caption, separator, etc.) which does not belong to any column.

|

Remarks

Use the Column property to obtain the column whose element is under the test point. To determine the type of the particular visual element under the test point, read the CardHitInfo.HitTest property’s value.

See Also

HitTest

CardHitInfo Class

CardHitInfo Members

DevExpress.XtraGrid.Views.Card.ViewInfo Namespace