Class EmptySection
Defines a class that implements the empty section with 1 visible element. Can be used as a place holder to appear in DisplayElements. GetYAmountCount will return DefaultEmptySectionHeight of the ParentTable.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class EmptySection : Section, IDisposable, IDisposedEvent, IIsDisposedProperty, ITreeTableCounterSource, ITreeTableSummaryArraySource, IDisplayElement
Constructors
EmptySection(Group)
Initializes a new section in the specified group.
Declaration
public EmptySection(Group parent)
Parameters
Type | Name | Description |
---|---|---|
Group | parent | The group this section is created in. |
Properties
Kind
Overrides and gets the value of kind of 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 number of filtered records.
Declaration
public override int GetFilteredRecordCount()
Returns
Type | Description |
---|---|
System.Int32 | Filtered record count. |
Overrides
GetRecordCount()
Overrides and gets the number of records.
Declaration
public override int GetRecordCount()
Returns
Type | Description |
---|---|
System.Int32 | Record count. |
Overrides
GetVisibleCount()
Overrides ans gets the value of number of visible elements.
Declaration
public override int GetVisibleCount()
Returns
Type | Description |
---|---|
System.Int32 | Visible element count. |
Overrides
GetYAmountCount()
Overrides and gets the value of height for the empty section.
Declaration
public override double GetYAmountCount()
Returns
Type | Description |
---|---|
System.Double | Returns Height. |
Overrides
InvalidateCounterTopDown(Boolean)
Overrides and resets the counter for all elements.
Declaration
public override void InvalidateCounterTopDown(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource |
Overrides
InvalidateSummariesTopDown()
Overrides and resets the summaries for all elements.
Declaration
public override void InvalidateSummariesTopDown()
Overrides
InvalidateSummary()
Overrides and resets the summary.
Declaration
public override void InvalidateSummary()