Back to Devexpress

TreeListColumnCollection.ColumnByName(String) Method

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumncollection-dot-columnbyname-x28-system-dot-string-x29.md

latest1.8 KB
Original Source

TreeListColumnCollection.ColumnByName(String) Method

Returns a column specified by its name.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public virtual TreeListColumn ColumnByName(
    string columnName
)
vb
Public Overridable Function ColumnByName(
    columnName As String
) As TreeListColumn

Parameters

NameTypeDescription
columnNameString

A string value specifying the column’s name.

|

Returns

TypeDescription
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

TreeListColumnCollection Class

TreeListColumnCollection Members

DevExpress.XtraTreeList.Columns Namespace