Class RecordPreviewRowsPart
Implements a part in a record that serves as a container for RecordPreviewRow elements in a record.
Implements
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class RecordPreviewRowsPart : RecordPart, IDisposable, IDisposedEvent, IIsDisposedProperty, ITreeTableCounterSource, ITreeTableSummaryArraySource, IRowElementsContainer, IContainerElement, IElementTreeTableSource, IElement
Constructors
RecordPreviewRowsPart(Record)
Initializes a new instance of RecordPreviewRowsPart with the given record as parent.
Declaration
public RecordPreviewRowsPart(Record parent)
Parameters
Type | Name | Description |
---|---|---|
Record | parent | The parent record this object is created in. |
Properties
RecordPreviewRows
Gets the collection of RecordPreviewRow elements.
Declaration
public RecordPreviewRowCollection RecordPreviewRows { get; }
Property Value
Type |
---|
RecordPreviewRowCollection |
RowElements
Gets the collection with row elements.
Declaration
public RowElementCollection RowElements { get; }
Property Value
Type |
---|
RowElementCollection |
Methods
AdjustRecordPreviewRowCount()
Determines whether adjusts the record preview row count.
Declaration
protected bool AdjustRecordPreviewRowCount()
Returns
Type | Description |
---|---|
System.Boolean | Returns boolean value. |
Dispose(Boolean)
Disposes the unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
GetElementCount()
Gets the number of elements.
Declaration
public override int GetElementCount()
Returns
Type | Description |
---|---|
System.Int32 | Number of elements. |
Overrides
GetVisibleCount()
Gets the number of visible elements.
Declaration
public override int GetVisibleCount()
Returns
Type | Description |
---|---|
System.Int32 | Visible element count. |
Overrides
GetYAmountCount()
Gets the element height.
Declaration
public override double GetYAmountCount()
Returns
Type | Description |
---|---|
System.Double | Element height. |
Overrides
InvalidateCounterTopDown(Boolean)
Walks down to the child branches and resets counters.
Declaration
public override void InvalidateCounterTopDown(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource | Indicates whether to notify the counter source. |
Overrides
InvalidateSummariesTopDown()
Overridden to walk down to the child branches and resets summaries.
Declaration
public override void InvalidateSummariesTopDown()
Overrides
InvalidateSummary()
Resets the summary.
Declaration
public override void InvalidateSummary()
Overrides
OnEnsureInitialized(Object)
This virtual method is called from OnEnsureInitialized(Object) and lets derived elements implement element-specific logic to ensure object is up to data.
Declaration
protected override bool OnEnsureInitialized(object sender)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The object that triggered the OnEnsureInitialized(Object) call. |
Returns
Type | Description |
---|---|
System.Boolean | True if changes were detected and the object was updated; False otherwise. |