Class RecordEntry
Inherited Members
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.Portable.dll
Syntax
public class RecordEntry : NodeEntry, IDisposable, IComparable<RecordEntry>
Constructors
RecordEntry(NodeEntry, Int32, Object)
Initializes a new instance of the RecordEntry class.
Declaration
public RecordEntry(NodeEntry parent, int level, object data)
Parameters
Type | Name | Description |
---|---|---|
NodeEntry | parent | The parent node of the of the record entry. |
System.Int32 | level | The level of the record initialized. |
System.Object | data | The data for the record entry initialized. |
Properties
ChildViews
Gets or sets the child views of the record entry, which are the views in the details view of the record entry.
Declaration
public Dictionary<string, NestedRecordEntry> ChildViews { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, NestedRecordEntry> | The child views of the record entry, which are the views in the details view of the record entry. |
Data
Gets or sets the data of the record entry.
Declaration
public object Data { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The data of the record entry. |
IsExpanded
Gets or sets a value indicating whether the current record entry is expanded.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the current record entry is expanded, otherwise false. |
Methods
CompareTo(RecordEntry)
Compares the current instance with the given instance.
Declaration
public int CompareTo(RecordEntry other)
Parameters
Type | Name | Description |
---|---|---|
RecordEntry | other | The other instance of object to compare with. |
Returns
Type | Description |
---|---|
System.Int32 | Returns a value indicating the comparison of the current and the given instance. |
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
OnCollapsed()
This method fires when the current record entry is collapsed.
Declaration
protected virtual void OnCollapsed()
OnExpanded()
This method fires when the current record entry is expanded.
Declaration
protected virtual void OnExpanded()
PopulateChildView(ICollectionViewAdv, Int32, String)
Populates the child view with the given collection view, at the given level and the given relation.
Declaration
public void PopulateChildView(ICollectionViewAdv collectionView, int level, string relationName)
Parameters
Type | Name | Description |
---|---|---|
ICollectionViewAdv | collectionView | The collection view of the child of the record entry. |
System.Int32 | level | The level at which the child is to be added. |
System.String | relationName | The relation name representing the relation between the child view and the record entry. |
PopulateChildView(ICollectionViewAdv, Int32, String, Boolean)
Populates the child view with the given collection view, at the given level and the given relation.
Declaration
public void PopulateChildView(ICollectionViewAdv collectionView, int level, string relationName, bool isNestedExpanded)
Parameters
Type | Name | Description |
---|---|---|
ICollectionViewAdv | collectionView | The collection view of the child of the record entry. |
System.Int32 | level | The level at which the child is to be added. |
System.String | relationName | The relation name representing the relation between the child view and the record entry. |
System.Boolean | isNestedExpanded | A boolean value indicating whether the record entry is expanded. |