Show / Hide Table of Contents

Interface DataSourceSupportsIndexedAccess

A data source that supports indexed access to its items.

Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public interface DataSourceSupportsIndexedAccess

Methods

GetItemAtIndex(Int32)

Declaration
object GetItemAtIndex(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Object

GetItemAtIndexAsync(Int32)

Returns the item at the specific index in the data source. This index is based on the data source's current view of the data, not the actual underlying indexes of the original source.

Declaration
Task<object> GetItemAtIndexAsync(int index)
Parameters
Type Name Description
System.Int32 index

The index of the requested item.

Returns
Type Description
System.Threading.Tasks.Task<System.Object>