Class EmptyLineSizeCollection
An empty LineSizeCollection.
Implements
Inherited Members
Namespace: Syncfusion.GridCommon.ScrollAxis
Assembly: Syncfusion.GridCommon.Portable.dll
Syntax
public class EmptyLineSizeCollection : LineSizeCollection, IPaddedEditableLineSizeHost, IEditableLineSizeHost, INestedDistancesHost, ILineSizeHost, IDistancesHost, IDisposable
  Constructors
EmptyLineSizeCollection()
Initializes a new instance of the EmptyLineSizeCollection class.
Declaration
public EmptyLineSizeCollection()
  Fields
Empty
Returns an empty collection.
Declaration
public static readonly EmptyLineSizeCollection Empty
  Field Value
| Type | 
|---|
| EmptyLineSizeCollection | 
Methods
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources.  | 
      
Overrides
Explicit Interface Implementations
IDistancesHost.Distances
Gets an object that implements the Distances property.
Declaration
IDistanceCounterCollection IDistancesHost.Distances { get; }
  Returns
| Type | 
|---|
| IDistanceCounterCollection | 
ILineSizeHost.add_DefaultLineSizeChanged(DefaultLineSizeChangedEventHandler)
Declaration
void ILineSizeHost.add_DefaultLineSizeChanged(DefaultLineSizeChangedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DefaultLineSizeChangedEventHandler | value | 
ILineSizeHost.add_LineHiddenChanged(HiddenRangeChangedEventHandler)
Declaration
void ILineSizeHost.add_LineHiddenChanged(HiddenRangeChangedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| HiddenRangeChangedEventHandler | value | 
ILineSizeHost.add_LinesInserted(LinesInsertedEventHandler)
Declaration
void ILineSizeHost.add_LinesInserted(LinesInsertedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LinesInsertedEventHandler | value | 
ILineSizeHost.add_LineSizeChanged(RangeChangedEventHandler)
Declaration
void ILineSizeHost.add_LineSizeChanged(RangeChangedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RangeChangedEventHandler | value | 
ILineSizeHost.add_LinesRemoved(LinesRemovedEventHandler)
Declaration
void ILineSizeHost.add_LinesRemoved(LinesRemovedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LinesRemovedEventHandler | value | 
ILineSizeHost.FooterLineCountChanged
Occurs when footer line count changed.
Declaration
event EventHandler ILineSizeHost.FooterLineCountChanged
  Returns
| Type | 
|---|
| System.EventHandler | 
ILineSizeHost.GetDefaultLineSize()
Returns the default line size.
Declaration
double ILineSizeHost.GetDefaultLineSize()
  Returns
| Type | Description | 
|---|---|
| System.Double | The default line size.  | 
      
ILineSizeHost.GetFooterLineCount()
Gets the footer line count.
Declaration
int ILineSizeHost.GetFooterLineCount()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | The footer line count.  | 
      
ILineSizeHost.GetHeaderLineCount()
Gets the header line count.
Declaration
int ILineSizeHost.GetHeaderLineCount()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | The header line count.  | 
      
ILineSizeHost.GetHidden(Int32, out Int32)
Gets the boolean value indicating the hidden state for the line with given index.
Declaration
bool ILineSizeHost.GetHidden(int index, out int repeatValueCount)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | The index of the line for which the hidden state is to be obtained.  | 
      
| System.Int32 | repeatValueCount | The number of subsequent lines with same state.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | The boolean value indicating the hidden state for a line.  | 
      
ILineSizeHost.GetLineCount()
Returns the line count.
Declaration
int ILineSizeHost.GetLineCount()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | The line count.  | 
      
ILineSizeHost.GetSize(Int32, out Int32)
Gets the size of the line at the given index.
Declaration
double ILineSizeHost.GetSize(int index, out int repeatValueCount)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | The index of the line for which the size is to be obtained.  | 
      
| System.Int32 | repeatValueCount | The number of subsequent values with same size.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Double | The size of the line at the given index.  | 
      
ILineSizeHost.HeaderLineCountChanged
Occurs when header line count changed.
Declaration
event EventHandler ILineSizeHost.HeaderLineCountChanged
  Returns
| Type | 
|---|
| System.EventHandler | 
ILineSizeHost.InitializeScrollAxis(ScrollAxisBase)
Used to initialize scroll axis
Declaration
void ILineSizeHost.InitializeScrollAxis(ScrollAxisBase scrollAxis)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ScrollAxisBase | scrollAxis | scroll axis instance  | 
      
ILineSizeHost.LineCountChanged
Occurs when line count changed.
Declaration
event EventHandler ILineSizeHost.LineCountChanged
  Returns
| Type | 
|---|
| System.EventHandler | 
ILineSizeHost.remove_DefaultLineSizeChanged(DefaultLineSizeChangedEventHandler)
Declaration
void ILineSizeHost.remove_DefaultLineSizeChanged(DefaultLineSizeChangedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DefaultLineSizeChangedEventHandler | value | 
ILineSizeHost.remove_LineHiddenChanged(HiddenRangeChangedEventHandler)
Declaration
void ILineSizeHost.remove_LineHiddenChanged(HiddenRangeChangedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| HiddenRangeChangedEventHandler | value | 
ILineSizeHost.remove_LinesInserted(LinesInsertedEventHandler)
Declaration
void ILineSizeHost.remove_LinesInserted(LinesInsertedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LinesInsertedEventHandler | value | 
ILineSizeHost.remove_LineSizeChanged(RangeChangedEventHandler)
Declaration
void ILineSizeHost.remove_LineSizeChanged(RangeChangedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RangeChangedEventHandler | value | 
ILineSizeHost.remove_LinesRemoved(LinesRemovedEventHandler)
Declaration
void ILineSizeHost.remove_LinesRemoved(LinesRemovedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LinesRemovedEventHandler | value |