Skip to main content
All docs
V24.1

DxTreeList.IsDataItemFocused(Object) Method

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.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 TreeList component, refer to the following topic: Selection and Focus in Blazor TreeList.

See Also