Skip to main content
A newer version of this page is available. .

CardHitInfo.Column Property

Gets or sets the column located under the test point.

Namespace: DevExpress.XtraGrid.Views.Card.ViewInfo

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public GridColumn Column { get; set; }

Property Value

Type Description
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Column property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also