Back to Devexpress

GridControl.GetFocusedRowCellValue(String) Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-dot-getfocusedrowcellvalue-x28-system-dot-string-x29.md

latest1.8 KB
Original Source

GridControl.GetFocusedRowCellValue(String) Method

Returns the value of the specified cell contained within the focused row.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Parameters

NameTypeDescription
fieldNameString

A String value that specifies the column’s field name.

|

Returns

TypeDescription
Object

An object that represents the specified cell’s value.

|

Remarks

To learn more, see Obtain and Set Cell Values.

See Also

SetFocusedRowCellValue

GetCellValue(Int32, GridColumn)

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace