Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RecordsList

    Show / Hide Table of Contents

    Class RecordsList

    Inheritance
    System.Object
    RecordsListBase
    RecordsList
    DataTableRecordsList
    PagedCollectionRecordsList
    QueryableCollectionRecordsList
    Implements
    IRecordsList
    IRecordsEntryList
    System.Collections.Generic.IList<RecordEntry>
    System.Collections.Generic.ICollection<RecordEntry>
    System.Collections.Generic.IEnumerable<RecordEntry>
    System.Collections.IEnumerable
    System.Collections.Specialized.INotifyCollectionChanged
    System.IDisposable
    Inherited Members
    RecordsListBase.internalList
    RecordsListBase.indicesList
    RecordsListBase.GetRecord(Int32)
    RecordsListBase.GetRecord(Object)
    RecordsListBase.SuspendUpdates()
    RecordsListBase.ResumeUpdates()
    RecordsListBase.IndexOfRecord(Object)
    RecordsListBase.GetSource()
    RecordsListBase.GetRecordEntry(Int32, Object)
    RecordsListBase.IndexOf(RecordEntry)
    RecordsListBase.Insert(Int32, RecordEntry)
    RecordsListBase.RemoveAt(Int32)
    RecordsListBase.Add(RecordEntry)
    RecordsListBase.Clear()
    RecordsListBase.Contains(RecordEntry)
    RecordsListBase.CopyTo(RecordEntry[], Int32)
    RecordsListBase.Remove(RecordEntry)
    RecordsListBase.GetEnumerator()
    RecordsListBase.Dispose()
    RecordsListBase.OnCollectionChanged(Object, NotifyCollectionChangedEventArgs)
    RecordsListBase.IsInSuspend
    RecordsListBase.Count
    RecordsListBase.IsReadOnly
    RecordsListBase.Item[Int32]
    RecordsListBase.CollectionChanged
    Namespace: Syncfusion.Data
    Assembly: Syncfusion.Data.Portable.dll
    Syntax
    public class RecordsList : RecordsListBase, IRecordsList, IRecordsEntryList, IList<RecordEntry>, ICollection<RecordEntry>, IEnumerable<RecordEntry>, IEnumerable, INotifyCollectionChanged, IDisposable

    Constructors

    RecordsList()

    Initializes a new instance of the RecordsList class.

    Declaration
    public RecordsList()

    RecordsList(CollectionViewAdv)

    Initializes a new instance of the RecordsList class.

    Declaration
    public RecordsList(CollectionViewAdv view)
    Parameters
    Type Name Description
    CollectionViewAdv view

    The collection view of the SfDataGrid.

    RecordsList(IEnumerable, CollectionViewAdv)

    Initializes a new instance of the RecordsList class.

    Declaration
    public RecordsList(IEnumerable source, CollectionViewAdv view)
    Parameters
    Type Name Description
    System.Collections.IEnumerable source

    The IEnumerable source of the SfDataGrid.

    CollectionViewAdv view

    The collection view of the SfDataGrid.

    Fields

    EnableHashIndexing

    Gets a boolean value indicating whether hash indexing is enabled.

    Declaration
    public static bool EnableHashIndexing
    Field Value
    Type Description
    System.Boolean

    Properties

    TableSummaries

    Gets the table summaries of SfDataGrid.

    Declaration
    public IList<SummaryRecordEntry> TableSummaries { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<SummaryRecordEntry>

    The table summaries of SfDataGrid.

    View

    Gets the collection view of SfDataGrid.

    Declaration
    public CollectionViewAdv View { get; }
    Property Value
    Type Description
    CollectionViewAdv

    The collection view of SfDataGrid.

    Methods

    Add(Object)

    Adds the specified data to the records list.

    Declaration
    public override void Add(object data)
    Parameters
    Type Name Description
    System.Object data

    The data for which the record is created and added to the records list.

    Overrides
    RecordsListBase.Add(Object)

    CreateRecord(Object)

    Creates the record entry for the given data object.

    Declaration
    public virtual RecordEntry CreateRecord(object data)
    Parameters
    Type Name Description
    System.Object data

    The data for which the RecordEntry is to be created.

    Returns
    Type Description
    RecordEntry

    Returns the RecordEntry created for the specified data.

    Dispose(Boolean)

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

    A boolean value indicating whether both managed and unmanaged resources is to be released.

    Overrides
    RecordsListBase.Dispose(Boolean)

    GetItemAt(Int32)

    Gets the item at the specified index in the records list.

    Declaration
    public object GetItemAt(int recordIndex)
    Parameters
    Type Name Description
    System.Int32 recordIndex

    The recordIndex to get the object.

    Returns
    Type Description
    System.Object

    Returns the object at specified record index.

    OnInitialize()

    Initializes the internal list and the indices list of the collection view with records of the collection view.

    Declaration
    protected override void OnInitialize()
    Overrides
    RecordsListBase.OnInitialize()

    PopulateRecords(IEnumerable, CollectionViewAdv)

    Populates the internalList by enumerating the specified source.

    Declaration
    protected virtual void PopulateRecords(IEnumerable source, CollectionViewAdv view)
    Parameters
    Type Name Description
    System.Collections.IEnumerable source

    The source.

    CollectionViewAdv view

    The View.

    Remarks

    The internalList will be populated with null entries in the case of VirtualRecordsList. In case of IQueryable source will be filtered by query. So, there is no need of filter each record while populating.

    PopulateRecordsFromGroup(List<Group>)

    Populates the internalList by enumerating Group.Records.

    Declaration
    protected virtual void PopulateRecordsFromGroup(List<Group> groups)
    Parameters
    Type Name Description
    System.Collections.Generic.List<Group> groups

    The list of Groups.

    Remarks

    The internalList will be populated with null entries in the case of VirtualRecordsList. In case of IQueryable source will be filtered by query. So, there is no need of filter each record while populating.

    RemoveAll()

    Dispose all items from the System.Collections.Generic.ICollection<>.

    Declaration
    public virtual void RemoveAll()

    RemoveNotifyListener()

    Removes the notify listener for the collection view of the records list.

    Declaration
    public void RemoveNotifyListener()

    Implements

    IRecordsList
    IRecordsEntryList
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    System.Collections.Specialized.INotifyCollectionChanged
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved