Class GroupRecordEntry
Implements
Inherited Members
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.Portable.dll
Syntax
public class GroupRecordEntry : NodeEntry, IDisposable
Constructors
GroupRecordEntry(NodeEntry, Int32)
Initializes a new instance of the GroupRecordEntry class.
Declaration
public GroupRecordEntry(NodeEntry parent, int level)
Parameters
Type | Name | Description |
---|---|---|
NodeEntry | parent | The parent node of the group record entry. |
System.Int32 | level | The level of the group record entry. |
GroupRecordEntry(NodeEntry, Int32, IEnumerable, Predicate<Object>)
Initializes a new instance of the GroupRecordEntry class.
Declaration
public GroupRecordEntry(NodeEntry parent, int level, IEnumerable source, Predicate<object> filterPredicate)
Parameters
Type | Name | Description |
---|---|---|
NodeEntry | parent | The parent node of the group record entry. |
System.Int32 | level | The level of the group record entry. |
System.Collections.IEnumerable | source | The IEnumerable source of the group record entry. |
System.Predicate<System.Object> | filterPredicate | The filter predicate, which filters the items to be displayed in view of the group from the given source. |
Properties
Records
Gets or protectedly sets the records, which contains only the items displayed in view in the group record entry.
Declaration
public IRecordsEntryList Records { get; protected set; }
Property Value
Type | Description |
---|---|
IRecordsEntryList | The records, which contains only the items displayed in view in the group record entry. |
Summaries
Gets the list of summaries for the bottom level records in the group record entry.
Declaration
public List<SummaryRecordEntry> Summaries { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SummaryRecordEntry> | The list of summaries for the bottom level records in the group record entry. |
UnfilteredRecords
Gets the unfiltered records, which contains all the items (both items displayed in view and underlying collection) in the group record entry.
Declaration
public List<object> UnfilteredRecords { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> | The unfiltered records which contains all the items (both items displayed in view and underlying collection) in the group record entry. |
Methods
CreateRecord(Object)
Creates the new record entry for the given data.
Declaration
protected virtual RecordEntry CreateRecord(object data)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | The data for the new record entry created. |
Returns
Type | Description |
---|---|
RecordEntry | Returns the record entry created for the given data. |
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
Overrides
GetRecordsCount()
Gets the number of items displayed in view in the group record entry.
Declaration
public virtual int GetRecordsCount()
Returns
Type | Description |
---|---|
System.Int32 | Returns the number of items displayed in view in the group record entry. |
GetRelationsCount()
Gets the relations count of the group record entry, that link grid and allow navigation from parent grid to child grid.
Declaration
public virtual int GetRelationsCount()
Returns
Type | Description |
---|---|
System.Int32 | The relations count of the group record entry, that link grid and allow navigation from parent grid to child grid. |
InitializeRecords(NodeEntry)
Initializes the records in the group record entry.
Declaration
protected virtual void InitializeRecords(NodeEntry parent)
Parameters
Type | Name | Description |
---|---|---|
NodeEntry | parent | The parent node of the group record entry. |
PopulateRecords(IEnumerable, Predicate<Object>)
Populates the records to the group record entry from the given source and based on the given filter.
Declaration
public virtual void PopulateRecords(IEnumerable source, Predicate<object> filterPredicate)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | source | The IEnumerable source of the items to be populated in the group record entry. |
System.Predicate<System.Object> | filterPredicate | The filter predicate, which filters the items to be displayed in view of the group from the given source. |
ToArray()
Returns the records of the group record entry as the System.Array of objects.
Declaration
public object[] ToArray()
Returns
Type | Description |
---|---|
System.Object[] | Returns the records of the group record entry in the System.Array of objects. |