Skip to main content

DxGrid.IsDataItemFocused(Object) Method

Identifies whether the row bound to the specified data item is focused.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public bool IsDataItemFocused(
    object dataItem
)

Parameters

Name Type Description
dataItem Object

The data item.

Returns

Type Description
Boolean

true if the row is focused; otherwise, false.

Remarks

Use the IsDataItemFocused method to determine whether the row bound to the specified data item is focused.

For more information about row focus in the Grid component, refer to the following topic: Selection and Focus in Blazor Grid.

See Also