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

TreeList.GetFocusedRowCellValue(String) Method

Returns the value of the specified cell in the focused node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public object GetFocusedRowCellValue(
    string fieldName
)

#Parameters

Name Type Description
fieldName String

The field name of a column that contains the cell.

#Returns

Type Description
Object

An object that specifies the cell’s value. null (Nothing in Visual Basic) if the specified cell was not found.

#Remarks

Use the GetFocusedRowCellDisplayText method to get a cell’s display value/text.

Read the following topic to learn more: Obtaining and Setting Cell Values.

See Also