Class SummarySection
Implements the summary section with one visible element for showing a summary below a group in DisplayElements. The summary information can be determined by calling GetSummaries(Table, out Boolean) on the Group that this summary section belongs to.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class SummarySection : Section, IDisposedEvent, IIsDisposedProperty, ITreeTableCounterSource, ITreeTableSummaryArraySource, ISummarySection, IDisposable, IDisplayElement
Constructors
SummarySection(Group)
Initializes a new section in the specified group.
Declaration
public SummarySection(Group parent)
Parameters
Type | Name | Description |
---|---|---|
Group | parent | The group this section is created in |
Properties
Kind
Gets the kind of display element.
Declaration
public override DisplayElementKind Kind { get; }
Property Value
Type |
---|
DisplayElementKind |
Overrides
Methods
GetElementCount()
Gets the number of elements.
Declaration
public override int GetElementCount()
Returns
Type | Description |
---|---|
System.Int32 | Element count. |
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
GetSummaries(Table, out Boolean)
Gets summary information for the current element and all its child tables.
Declaration
public override ITreeTableSummary[] GetSummaries(Table parentTable, out bool summaryChanged)
Parameters
Type | Name | Description |
---|---|---|
Table | parentTable | A reference to the parent table. |
System.Boolean | summaryChanged | Returns true if changes were detected. |
Returns
Type | Description |
---|---|
ITreeTableSummary[] | Summary information. |
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)
Resets the counter for all elements.
Declaration
public override void InvalidateCounterTopDown(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource | When true notifies the counter source. |
Overrides
InvalidateSummariesTopDown()
Resets the summary for all elements.
Declaration
public override void InvalidateSummariesTopDown()
Overrides
InvalidateSummary()
Resets the summary.
Declaration
public override void InvalidateSummary()
Overrides
ToString()
Overridden to return a string holding the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of the current object. |