A newer version of this page is available. Switch to the current version.

RepositoryItemTreeListLookUpEdit.GetDisplayTextByIndex(Int32) Method

Returns the text representation of the DisplayMember field value of the specified row.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

public virtual string GetDisplayTextByIndex(
    int index
)

Parameters

Name Type Description
index Int32

An integer that is the index of the required row.

Returns

Type Description
String

The text representation of the DisplayMember field value for the specified row.

Remarks

The GetDisplayTextByIndex method returns the display value contained in the specified record. The display value is retrieved from the RepositoryItemLookUpEditBase.DisplayMember field of the record.

See Also