Class EmptyLineSizeHost
Implements the ILineSizeHost interface for an empty collection that cannot be modified.
Inherited Members
Namespace: Syncfusion.Maui.GridCommon.ScrollAxis
Assembly: Syncfusion.Maui.GridCommon.dll
Syntax
public class EmptyLineSizeHost : ILineSizeHost, IDistancesHost, IDisposable
Constructors
EmptyLineSizeHost()
Declaration
public EmptyLineSizeHost()
Fields
Empty
Returns the empty collection.
Declaration
public static readonly EmptyLineSizeHost Empty
Field Value
| Type |
|---|
| EmptyLineSizeHost |
Properties
Distances
Gets or sets the distances.
Declaration
public IDistanceCounterCollection Distances { get; }
Property Value
| Type | Description |
|---|---|
| IDistanceCounterCollection | The distances. |
Methods
Dispose()
Call the Dispose and SuppressFinalize method for dipose the instance of ILineSizeHost class.
Declaration
public void Dispose()
Dispose(bool)
Dispose the live resources used by the ILineSizeHost class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Dispose the instance, if it is True |
GetDefaultLineSize()
Returns the default line size.
Declaration
public double GetDefaultLineSize()
Returns
| Type |
|---|
| double |
GetFooterLineCount()
Gets the footer line count.
Declaration
public int GetFooterLineCount()
Returns
| Type |
|---|
| int |
GetHeaderLineCount()
Gets the header line count.
Declaration
public int GetHeaderLineCount()
Returns
| Type |
|---|
| int |
GetHidden(int, out int)
Gets the hidden state for a line.
Declaration
public bool GetHidden(int index, out int repeatValueCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
| int | repeatValueCount | The number of subsequent lines with same state. |
Returns
| Type |
|---|
| bool |
GetLineCount()
Returns the line count.
Declaration
public int GetLineCount()
Returns
| Type |
|---|
| int |
GetSize(int, out int)
Gets the size.
Declaration
public double GetSize(int index, out int repeatValueCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
| int | repeatValueCount | The number of subsequent values with same size. |
Returns
| Type |
|---|
| double |
InitializeScrollAxis(ScrollAxisBase)
Initializes the scroll axis.
Declaration
public void InitializeScrollAxis(ScrollAxisBase scrollAxis)
Parameters
| Type | Name | Description |
|---|---|---|
| ScrollAxisBase | scrollAxis | The scroll axis. |
Events
DefaultLineSizeChanged
Occurs when the default line size changed.
Declaration
public event DefaultLineSizeChangedEventHandler DefaultLineSizeChanged
Event Type
| Type |
|---|
| DefaultLineSizeChangedEventHandler |
FooterLineCountChanged
Occurs when the footer line count was changed.
Declaration
public event EventHandler FooterLineCountChanged
Event Type
| Type |
|---|
| EventHandler |
HeaderLineCountChanged
Occurs when the header line count was changed.
Declaration
public event EventHandler HeaderLineCountChanged
Event Type
| Type |
|---|
| EventHandler |
LineCountChanged
Occurs when the line count was changed.
Declaration
public event EventHandler LineCountChanged
Event Type
| Type |
|---|
| EventHandler |
LineHiddenChanged
Occurs when a lines hidden state changed.
Declaration
public event HiddenRangeChangedEventHandler LineHiddenChanged
Event Type
| Type |
|---|
| HiddenRangeChangedEventHandler |
LineSizeChanged
Occurs when a lines size was changed.
Declaration
public event RangeChangedEventHandler LineSizeChanged
Event Type
| Type |
|---|
| RangeChangedEventHandler |
LinesInserted
Occurs when lines were inserted.
Declaration
public event LinesInsertedEventHandler LinesInserted
Event Type
| Type |
|---|
| LinesInsertedEventHandler |
LinesRemoved
Occurs when lines were removed.
Declaration
public event LinesRemovedEventHandler LinesRemoved
Event Type
| Type |
|---|
| LinesRemovedEventHandler |