menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ListIndexer<T> - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ListIndexer<T>

    Inheritance
    System.Object
    ListIndexer<T>
    Namespace: Syncfusion.Data
    Assembly: Syncfusion.Data.Portable.dll
    Syntax
    public class ListIndexer<T> : Object where T : RecordEntry, IComparable<T>, IDisposable
    Type Parameters
    Name
    T

    Constructors

    ListIndexer(IList<T>)

    Initializes a new instance of ListIndexer class.

    Declaration
    public ListIndexer(IList<T> list)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<T> list

    The source of items for the ListIndexer initialized.

    Properties

    IsInSuspend

    Gets a boolean value indicating whether the view updates is suspended.

    Declaration
    public bool IsInSuspend { get; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating whether the view updates is suspended.

    Methods

    Dispose()

    Disposes all the resources.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes the unmanaged and optionally managed resources.

    Declaration
    protected virtual void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    System.Boolean isDisposing

    A boolean value indicating whether to dispose both manged and unmanaged resources.

    Find(T)

    Finds the index of the given item in the collection.

    Declaration
    public int Find(T item)
    Parameters
    Type Name Description
    T item

    The item whose index is to be obtained.

    Returns
    Type Description
    System.Int32

    The index of the given item in the collection.

    Find(Object)

    Finds the index of the given item in the collection.

    Declaration
    public int Find(object item)
    Parameters
    Type Name Description
    System.Object item

    The item whose index is to be obtained.

    Returns
    Type Description
    System.Int32

    The index of the given item in the collection.

    GetRecordEntry(Object)

    Returns the object of RecordEntry for the specified data in the underlying collection.

    Declaration
    public RecordEntry GetRecordEntry(object item)
    Parameters
    Type Name Description
    System.Object item

    The data whose record entry is to be obtained.

    Returns
    Type Description
    RecordEntry

    Returns the RecordEntry based on data.

    Resume()

    Resumes the view updates. When the view is resumed, the view will be refreshed by which the change in the underlying data will be updated in the view.

    Declaration
    public void Resume()

    Suspend()

    Suspends the view updates. When the view is suspended, the change in the underlying data will not be updated in the view.

    Declaration
    public void Suspend()

    ToString()

    Returns the string representing the count of items in the collection.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    The string representing the count of items in the collection.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved