windowsforms-devexpress-dot-xtratreelist-dot-treelisthitinfo.md
Gets the column located under the test point.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public TreeListColumn Column { get; }
Public ReadOnly Property Column As TreeListColumn
| Type | Description |
|---|---|
| TreeListColumn |
The TreeListColumn object representing the column that contains the test point.
|
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.
winforms-treelist-customize-cell-tooltip/CS/Form1.cs#L26
if(hit.HitInfoType == HitInfoType.Cell) {
object cellInfo = new TreeListCellToolTipInfo(hit.Node, hit.Column, null);
string toolTip = string.Format("{0} (Column: {1}, Node ID: {2})", hit.Node[hit.Column], hit.Column.FieldName, hit.Node.Id);
winforms-treelist-customize-cell-tooltip/VB/Form1.vb#L26
If hit.HitInfoType = HitInfoType.Cell Then
Dim cellInfo As Object = New TreeListCellToolTipInfo(hit.Node, hit.Column, Nothing)
Dim toolTip As String = String.Format("{0} (Column: {1}, Node ID: {2})", hit.Node(hit.Column), hit.Column.FieldName, hit.Node.Id)
See Also