Skip to main content

TreeListColumnCollection.ColumnByName(String) Method

Returns a column specified by its name.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public virtual TreeListColumn ColumnByName(
    string columnName
)

Parameters

Name Type Description
columnName String

A string value specifying the column’s name.

Returns

Type Description
TreeListColumn

A TreeListColumn object which represents the column with the specified name. null (Nothing in Visual Basic) if the collection doesn’t contain the column with the specified name.

See Also