Back to Devexpress

TreeList.GetFocusedRowCellValue(String) Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-dot-getfocusedrowcellvalue-x28-system-dot-string-x29.md

latest2.2 KB
Original Source

TreeList.GetFocusedRowCellValue(String) Method

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public object GetFocusedRowCellValue(
    string fieldName
)
vb
Public Function GetFocusedRowCellValue(
    fieldName As String
) As Object

Parameters

NameTypeDescription
fieldNameString

The field name of a column that contains the cell.

|

Returns

TypeDescription
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

Obtaining and Setting Cell Values

GetRowCellValue

GetRowCellDisplayText

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace