GridControl.GetFocusedValue() Method
In This Article
Returns the focused cell’s value.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
#Returns
Type | Description |
---|---|
Object | An object that represents the focused cell’s value. null (Nothing in Visual Basic) if the focused cell is not displayed within a View. |
#Remarks
The focused cell is displayed if the DataViewBase.NavigationStyle property is set to GridViewNavigationStyle.Cell.
To obtain the value of any cell displayed within a View, use the GridControl.GetCellValue method.
To learn more, see Obtain and Set Cell Values.
See Also