Skip to main content

GridControl.GetFocusedValue() Method

Returns the focused cell’s value.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public object GetFocusedValue()


Type Description

An object that represents the focused cell’s value. null (Nothing in Visual Basic) if the focused cell is not displayed within a View.


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