Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ITreeList.GetDataItemValue(Object, String) Method

Returns the value of the specified field for the specified data item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
object GetDataItemValue(
    object dataItem,
    string fieldName
)

#Parameters

Name Type Description
dataItem Object

The data item whose field value should be returned.

fieldName String

The name of the data field whose value should be returned.

#Returns

Type Description
Object

The field value.

#Remarks

Refer to the GetDataItemValue(Object, String) method description for more information and an example.

See Also