Class GroupPreviewSection
Defines the class that implements preview section with one visible element for showing a preview below a group in DisplayElements when a group is collapsed.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class GroupPreviewSection : Section, IDisposable, IDisposedEvent, IIsDisposedProperty, ITreeTableCounterSource, ITreeTableSummaryArraySource, IDisplayElement
Constructors
GroupPreviewSection(Group)
Initializes a new instance of the GroupPreviewSection class in the specified group.
Declaration
public GroupPreviewSection(Group parent)
Parameters
Type | Name | Description |
---|---|---|
Group | parent | The group this section is created in. |
Properties
Kind
Overrides and gets the kind of the element.
Declaration
public override DisplayElementKind Kind { get; }
Property Value
Type |
---|
DisplayElementKind |
Overrides
Methods
GetElementCount()
Overrides and gets the number of elements.
Declaration
public override int GetElementCount()
Returns
Type | Description |
---|---|
System.Int32 | Element count. |
Overrides
GetFilteredRecordCount()
Overrides and gets the filtered record count.
Declaration
public override int GetFilteredRecordCount()
Returns
Type | Description |
---|---|
System.Int32 | Number of filtered records. |
Overrides
GetRecordCount()
Overrides and gets the number of records.
Declaration
public override int GetRecordCount()
Returns
Type | Description |
---|---|
System.Int32 | Record count. |
Overrides
GetVisibleCount()
Overrides and gets the number of visible elements.
Declaration
public override int GetVisibleCount()
Returns
Type | Description |
---|---|
System.Int32 | Visible element count. |
Overrides
GetYAmountCount()
Overrides and gets the height for the element.
Declaration
public override double GetYAmountCount()
Returns
Type | Description |
---|---|
System.Double | Element Height. |
Overrides
InvalidateCounterTopDown(Boolean)
Overrides and resets the counter fields for all elements.
Declaration
public override void InvalidateCounterTopDown(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource | If true notifies the counter source. |
Overrides
InvalidateSummariesTopDown()
Overrides and resets the summaries for all elements.
Declaration
public override void InvalidateSummariesTopDown()
Overrides
InvalidateSummary()
Overrides and resets the summaries.
Declaration
public override void InvalidateSummary()