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.
Inherited Members
Namespace: Syncfusion.Windows.Forms.CellGrid.ScrollAxis
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public interface ILineSizeHost : IDisposable
Methods
GetDefaultLineSize()
Returns the default line size.
Declaration
double GetDefaultLineSize()
Returns
Type |
---|
System.Double |
GetFooterLineCount()
Gets the footer line count.
Declaration
int GetFooterLineCount()
Returns
Type |
---|
System.Int32 |
GetHeaderLineCount()
Gets the header line count.
Declaration
int GetHeaderLineCount()
Returns
Type |
---|
System.Int32 |
GetHidden(Int32, out Int32)
Gets the hidden state for a line.
Declaration
bool GetHidden(int index, out int repeatValueCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
System.Int32 | repeatValueCount | The number of subsequent lines with same state. |
Returns
Type |
---|
System.Boolean |
GetLineCount()
Returns the line count.
Declaration
int GetLineCount()
Returns
Type |
---|
System.Int32 |
GetSize(Int32, out Int32)
Gets the size.
Declaration
double GetSize(int index, out int repeatValueCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
System.Int32 | repeatValueCount | The number of subsequent values with same size. |
Returns
Type |
---|
System.Double |
InitializeScrollAxis(ScrollAxisBase)
Initializes the scroll axis.
Declaration
void InitializeScrollAxis(ScrollAxisBase scrollAxis)
Parameters
Type | Name | Description |
---|---|---|
ScrollAxisBase | scrollAxis | The scroll axis. |
Events
DefaultLineSizeChanged
Occurs when the default line size changed.
Declaration
event DefaultLineSizeChangedEventHandler DefaultLineSizeChanged
Event Type
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
LinesInserted
Occurs when lines were inserted.
Declaration
event LinesInsertedEventHandler LinesInserted
Event Type
LineSizeChanged
Occurs when a lines size was changed.
Declaration
event RangeChangedEventHandler LineSizeChanged
Event Type
LinesRemoved
Occurs when lines were removed.
Declaration
event LinesRemovedEventHandler LinesRemoved