Class VisibleLinesCollection
A strong-typed collection of VisibleLineInfo items.
Implements
Inherited Members
Namespace: Syncfusion.Maui.GridCommon.ScrollAxis
Assembly: Syncfusion.Maui.GridCommon.dll
Syntax
public class VisibleLinesCollection : List<VisibleLineInfo>, IList<VisibleLineInfo>, ICollection<VisibleLineInfo>, IList, ICollection, IReadOnlyList<VisibleLineInfo>, IReadOnlyCollection<VisibleLineInfo>, IEnumerable<VisibleLineInfo>, IEnumerable
Constructors
VisibleLinesCollection()
Initializes a new instance of the VisibleLinesCollection class.
Declaration
public VisibleLinesCollection()
Properties
FirstBodyVisibleIndex
Gets the index of the first visible line in the body region.
Declaration
public int FirstBodyVisibleIndex { get; }
Property Value
| Type | Description |
|---|---|
| int | The index of the first visible line in the body region. |
FirstFooterVisibleIndex
Gets the index of the first visible line in the footer region.
Declaration
public int FirstFooterVisibleIndex { get; }
Property Value
| Type | Description |
|---|---|
| int | The index of the first visible line in the footer region. |
LastBodyVisibleIndex
Gets the index of the last visible line in the body region.
Declaration
public int LastBodyVisibleIndex { get; }
Property Value
| Type | Description |
|---|---|
| int | The index of the last visible line in the body region. |
VisibleLineIndexes
Gets the visible line indexes.
Declaration
public Dictionary<int, VisibleLineInfo> VisibleLineIndexes { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<int, VisibleLineInfo> | The visible line indexes. |
Methods
AnyVisibleLines(int, int)
Declaration
public bool AnyVisibleLines(int lineIndex1, int lineIndex2)
Parameters
| Type | Name | Description |
|---|---|---|
| int | lineIndex1 | |
| int | lineIndex2 |
Returns
| Type |
|---|
| bool |
Clear()
Removes all elements from the collection.
Declaration
public void Clear()
GetVisibleLineAtLineIndex(int)
Gets the the visible line at line index.
Declaration
public VisibleLineInfo GetVisibleLineAtLineIndex(int lineIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | lineIndex | Index of the line. |
Returns
| Type | Description |
|---|---|
| VisibleLineInfo | visible line at line index. |
GetVisibleLineAtPoint(double)
Gets the visible line at point.
Declaration
public VisibleLineInfo GetVisibleLineAtPoint(double point)
Parameters
| Type | Name | Description |
|---|---|---|
| double | point | The point. |
Returns
| Type | Description |
|---|---|
| VisibleLineInfo | visible line at point. |
GetVisibleLineNearLineIndex(int)
Gets the visible line for a line index. If the line specified line is hidden the next visible line is returned.
Declaration
public VisibleLineInfo GetVisibleLineNearLineIndex(int lineIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | lineIndex | Index of the line. |
Returns
| Type | Description |
|---|---|
| VisibleLineInfo | The first visible line for a line index that is not hidden. |