Skip to main content
All docs
V25.1
  • TreeList.GetFocusedRowCellValue(String) Method

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

    Namespace: DevExpress.XtraTreeList

    Assembly: DevExpress.XtraTreeList.v25.1.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