Class VirtualRecordEntryList
Implements
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
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.WPF.dll
Syntax
public class VirtualRecordEntryList : RecordsEntryList, IRecordsEntryList, IList<RecordEntry>, ICollection<RecordEntry>, IEnumerable<RecordEntry>, IEnumerable, INotifyCollectionChanged, IDisposable
Constructors
VirtualRecordEntryList(Group)
Declaration
public VirtualRecordEntryList(Group group)
Parameters
Type | Name | Description |
---|---|---|
Group | group |
Fields
SourceList
Declaration
protected List<object> SourceList
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> |
Methods
Add(RecordEntry)
Declaration
public override void Add(RecordEntry item)
Parameters
Type | Name | Description |
---|---|---|
RecordEntry | item |
Overrides
GetEnumerator()
Declaration
public override IEnumerator<RecordEntry> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<RecordEntry> |
Overrides
GetRecord(Int32)
Declaration
public override RecordEntry GetRecord(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
RecordEntry |
Overrides
GetRecordEntry(Int32, Object)
Declaration
public override RecordEntry GetRecordEntry(int recordIndex, object data = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | recordIndex | |
System.Object | data |
Returns
Type | Description |
---|---|
RecordEntry |
Overrides
GetSource()
Declaration
public override List<object> GetSource()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> |
Overrides
IndexOfRecord(Object)
Returns the index of record.
Declaration
public override int IndexOfRecord(object data)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data |
Returns
Type | Description |
---|---|
System.Int32 | Returns from SourceList when the data not a record entry. |
Overrides
Insert(Int32, RecordEntry)
Override to insert the record to SourceList.
Declaration
public override void Insert(int index, RecordEntry item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
RecordEntry | item |
Overrides
OnInitialize()
Declaration
protected override void OnInitialize()
Overrides
Remove(RecordEntry)
Override to remove the record from SourceList.
Declaration
public override bool Remove(RecordEntry item)
Parameters
Type | Name | Description |
---|---|---|
RecordEntry | item | The item to be removed from SourceList and intrenalList. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true when the item is removed successfully. otherwise, returns false. |
Overrides
RemoveAt(Int32)
Override to remove the record from SourceList at specified index.
Declaration
public override void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Overrides
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
System.IDisposable