Skip to main content

TreeListColumn.ToString() Method

Returns a string that represents the current object.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public override string ToString()

Returns

Type Description
String

A String value that represents the current object.

Remarks

If the column’s Caption property is specified, the ToString method returns the colum’s caption. Otherwise, the ToString method checks whether the column’s TreeListDataColumn.FieldName property is specified to return its value. If this property is set to an empty string, the ToString method checks the column’s Name property to return its value. If this property isn’t specified, the ToString method returns an empty string.

See Also