Interface ILineSizeHost
A collection that manages lines with varying height and hidden state. It has properties for header and footer lines, total line count, default size of a line and also lets you add nested collections.
Namespace: Syncfusion.GridCommon.ScrollAxis
Assembly: Syncfusion.GridCommon.Portable.dll
Syntax
public interface ILineSizeHost : IDisposable
Methods
add_DefaultLineSizeChanged(DefaultLineSizeChangedEventHandler)
Declaration
void add_DefaultLineSizeChanged(DefaultLineSizeChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
DefaultLineSizeChangedEventHandler | value |
add_LineHiddenChanged(HiddenRangeChangedEventHandler)
Declaration
void add_LineHiddenChanged(HiddenRangeChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
HiddenRangeChangedEventHandler | value |
add_LinesInserted(LinesInsertedEventHandler)
Declaration
void add_LinesInserted(LinesInsertedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
LinesInsertedEventHandler | value |
add_LineSizeChanged(RangeChangedEventHandler)
Declaration
void add_LineSizeChanged(RangeChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
RangeChangedEventHandler | value |
add_LinesRemoved(LinesRemovedEventHandler)
Declaration
void add_LinesRemoved(LinesRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
LinesRemovedEventHandler | value |
GetDefaultLineSize()
Returns the default line size.
Declaration
double GetDefaultLineSize()
Returns
Type | Description |
---|---|
System.Double | The default line size. |
GetFooterLineCount()
Gets the footer line count.
Declaration
int GetFooterLineCount()
Returns
Type | Description |
---|---|
System.Int32 | The footer line count. |
GetHeaderLineCount()
Gets the header line count.
Declaration
int GetHeaderLineCount()
Returns
Type | Description |
---|---|
System.Int32 | The header line count. |
GetHidden(Int32, out Int32)
Gets the boolean value indicating the hidden state for the line with given index.
Declaration
bool 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. |
GetLineCount()
Returns the line count.
Declaration
int GetLineCount()
Returns
Type | Description |
---|---|
System.Int32 | The line count. |
GetSize(Int32, out Int32)
Gets the size of the line at the given index.
Declaration
double 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. |
InitializeScrollAxis(ScrollAxisBase)
Initializes the scroll axis.
Declaration
void InitializeScrollAxis(ScrollAxisBase scrollAxis)
Parameters
Type | Name | Description |
---|---|---|
ScrollAxisBase | scrollAxis | The scroll axis. |
remove_DefaultLineSizeChanged(DefaultLineSizeChangedEventHandler)
Declaration
void remove_DefaultLineSizeChanged(DefaultLineSizeChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
DefaultLineSizeChangedEventHandler | value |
remove_LineHiddenChanged(HiddenRangeChangedEventHandler)
Declaration
void remove_LineHiddenChanged(HiddenRangeChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
HiddenRangeChangedEventHandler | value |
remove_LinesInserted(LinesInsertedEventHandler)
Declaration
void remove_LinesInserted(LinesInsertedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
LinesInsertedEventHandler | value |
remove_LineSizeChanged(RangeChangedEventHandler)
Declaration
void remove_LineSizeChanged(RangeChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
RangeChangedEventHandler | value |
remove_LinesRemoved(LinesRemovedEventHandler)
Declaration
void remove_LinesRemoved(LinesRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
LinesRemovedEventHandler | value |
Events
DefaultLineSizeChanged
Occurs when the default line size changed.
Declaration
event DefaultLineSizeChangedEventHandler DefaultLineSizeChanged
Event Type
Type |
---|
DefaultLineSizeChangedEventHandler |
FooterLineCountChanged
Occurs when the footer line count was changed.
Declaration
event EventHandler FooterLineCountChanged
Event Type
Type |
---|
System.EventHandler |
HeaderLineCountChanged
Occurs when the header line count was changed.
Declaration
event EventHandler HeaderLineCountChanged
Event Type
Type |
---|
System.EventHandler |
LineCountChanged
Occurs when the line count was changed.
Declaration
event EventHandler LineCountChanged
Event Type
Type |
---|
System.EventHandler |
LineHiddenChanged
Occurs when a lines hidden state changed.
Declaration
event HiddenRangeChangedEventHandler LineHiddenChanged
Event Type
Type |
---|
HiddenRangeChangedEventHandler |
LinesInserted
Occurs when lines were inserted.
Declaration
event LinesInsertedEventHandler LinesInserted
Event Type
Type |
---|
LinesInsertedEventHandler |
LineSizeChanged
Occurs when a lines size was changed.
Declaration
event RangeChangedEventHandler LineSizeChanged
Event Type
Type |
---|
RangeChangedEventHandler |
LinesRemoved
Occurs when lines were removed.
Declaration
event LinesRemovedEventHandler LinesRemoved
Event Type
Type |
---|
LinesRemovedEventHandler |