Class RowElement
A base class for elements that can be added to a RowElementCollection in a RowElementsSection.
Inheritance
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public abstract class RowElement : Element, IDisposable, IDisposedEvent, IIsDisposedProperty, ITreeTableCounterSource, ITreeTableSummaryArraySource, IDisplayElement
Constructors
RowElement(Element)
Initializes an object with the specified parent element.
Declaration
public RowElement(Element parent)
Parameters
Type | Name | Description |
---|---|---|
Element | parent | The parent element. |
Properties
Id
Gets or sets the key to identify the current object.
Declaration
public override int Id { get; set; }
Property Value
Type |
---|
System.Int32 |
Overrides
Methods
GetElementCount()
Gets the element count.
Declaration
public override int GetElementCount()
Returns
Type | Description |
---|---|
System.Int32 | Number of elements. |
Overrides
GetFilteredRecordCount()
Gets the number of filtered records.
Declaration
public override int GetFilteredRecordCount()
Returns
Type | Description |
---|---|
System.Int32 | Filtered record count. |
Overrides
GetRecordCount()
Gets the number of records.
Declaration
public override int GetRecordCount()
Returns
Type | Description |
---|---|
System.Int32 | Record count. |
Overrides
InvalidateCounterBottomUp()
Walks up to the parent branches and resets the counters.
Declaration
public override void InvalidateCounterBottomUp()
Overrides
InvalidateCounterTopDown(Boolean)
Walks down to the child branches and resets the counters.
Declaration
public override void InvalidateCounterTopDown(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource | Indicates if the counter source should be notified. |
Overrides
InvalidateSummariesBottomUp()
Walks up to the parent branches and resets the summaries.
Declaration
public override void InvalidateSummariesBottomUp()
Overrides
InvalidateSummariesTopDown()
Walks down to the child branches and resets the 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. |
Overrides
SupportsId()
Determines whether this object can be uniquely identified using the Id.
Declaration
public override bool SupportsId()
Returns
Type | Description |
---|---|
System.Boolean | True if it supports id. |