Back to Devexpress

LayoutViewHitInfo.Column Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-viewinfo-dot-layoutviewhitinfo.md

latest1.7 KB
Original Source

LayoutViewHitInfo.Column Property

Gets a column object located under the test point.

Namespace : DevExpress.XtraGrid.Views.Layout.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 that contains the test point. null ( Nothing in Visual Basic) if the test point is over a visual element that 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 visual element under the test point, read the LayoutViewHitInfo.HitTest property’s value.

See Also

LayoutViewHitInfo Class

LayoutViewHitInfo Members

DevExpress.XtraGrid.Views.Layout.ViewInfo Namespace