Interface IRecordsEntryList
Interface which declares the methods to be implemented when maintaining the list.
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.WPF.dll
Syntax
public interface IRecordsEntryList : IList<RecordEntry>, ICollection<RecordEntry>, IEnumerable<RecordEntry>, IEnumerable, INotifyCollectionChanged, IDisposable
Properties
IsInSuspend
Gets a boolean value indicating whether the view updates is currently suspended.
Declaration
bool IsInSuspend { get; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether the view updates is currently suspended. |
Methods
GetRecord(Object)
Returns the object of RecordEntry for the specified data in the underlying collection.
Declaration
RecordEntry GetRecord(object data)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | The data whose record entry is to be obtained. |
Returns
Type | Description |
---|---|
RecordEntry | Returns the RecordEntry based on data. |
GetRecordEntry(Int32, Object)
Returns the object of RecordEntry for the specified record index and data in the underlying collection.
Declaration
RecordEntry GetRecordEntry(int recordIndex, object data = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | recordIndex | The index of the record whose record entry instance is to be obtained. |
System.Object | data | The data whose record entry is to be obtained. |
Returns
Type | Description |
---|---|
RecordEntry | Returns the object of RecordEntry for the specified record index and data in the underlying collection. |
GetSource()
Returns the source of the record entry list.
Declaration
List<object> GetSource()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> | Returns the source of the record entry list. |
IndexOfRecord(Object)
Returns the index of the given data in the underlying collection.
Declaration
int IndexOfRecord(object data)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | The data whose index is to be obtained. |
Returns
Type | Description |
---|---|
System.Int32 | Returns the index of the given data in the underlying collection. |
ResumeUpdates()
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
void ResumeUpdates()
SuspendUpdates()
Suspends the view updates. When the view is suspended, the change in the underlying data will not be updated in the view.
Declaration
void SuspendUpdates()