Class EmptyLineSizeHost
Implements the ILineSizeHost interface for an empty collection that cannot be modified.
Inheritance
System.Object
EmptyLineSizeHost
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.UI.Xaml.Grid.ScrollAxis
Assembly: Syncfusion.SfGridCommon.WPF.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
Declaration
public IDistanceCounterCollection Distances { get; }
Property Value
Methods
Dispose()
Call the Dispose and SuppressFinalize method for dipose the instance of ILineSizeHost class.
Declaration
public void Dispose()
Dispose(Boolean)
Dispose the live resources used by the ILineSizeHost class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Dispose the instance, if it is True |
GetDefaultLineSize()
Declaration
public double GetDefaultLineSize()
Returns
Type |
---|
System.Double |
GetFooterLineCount()
Declaration
public int GetFooterLineCount()
Returns
Type |
---|
System.Int32 |
GetHeaderLineCount()
Declaration
public int GetHeaderLineCount()
Returns
Type |
---|
System.Int32 |
GetHidden(Int32, out Int32)
Declaration
public bool GetHidden(int index, out int repeatValueCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int32 | repeatValueCount |
Returns
Type |
---|
System.Boolean |
GetLineCount()
Declaration
public int GetLineCount()
Returns
Type |
---|
System.Int32 |
GetSize(Int32, out Int32)
Declaration
public double GetSize(int index, out int repeatValueCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int32 | repeatValueCount |
Returns
Type |
---|
System.Double |
InitializeScrollAxis(ScrollAxisBase)
Declaration
public void InitializeScrollAxis(ScrollAxisBase scrollAxis)
Parameters
Type | Name | Description |
---|---|---|
ScrollAxisBase | scrollAxis |
Events
DefaultLineSizeChanged
Declaration
public event DefaultLineSizeChangedEventHandler DefaultLineSizeChanged
Event Type
FooterLineCountChanged
Declaration
public event EventHandler FooterLineCountChanged
Event Type
Type |
---|
System.EventHandler |
HeaderLineCountChanged
Declaration
public event EventHandler HeaderLineCountChanged
Event Type
Type |
---|
System.EventHandler |
LineCountChanged
Declaration
public event EventHandler LineCountChanged
Event Type
Type |
---|
System.EventHandler |
LineHiddenChanged
Declaration
public event HiddenRangeChangedEventHandler LineHiddenChanged
Event Type
LinesInserted
Declaration
public event LinesInsertedEventHandler LinesInserted
Event Type
LineSizeChanged
Declaration
public event RangeChangedEventHandler LineSizeChanged
Event Type
LinesRemoved
Declaration
public event LinesRemovedEventHandler LinesRemoved
Event Type
Implements
System.IDisposable