Class GridCellSpanBackgroundInfoCollection
A collection with elements derived from type CellSpanBackgroundInfo. Internally this collection maintains both a List of CellSpanBackgroundInfo and a so called pool. The pool allows immediate lookup of cell spans given a cells row and column index. The list allows looping through cell spans in the order they were added.
CellOverlappSpanInfoCollection is similar to CellSpanInfoCollection<T> but
with the difference that it allows overlaps between cell spans. If a cell has
an overlap and
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellSpanBackgroundInfoCollection : CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>, IList<CellSpanBackgroundInfo>, ICollection<CellSpanBackgroundInfo>, IEnumerable<CellSpanBackgroundInfo>, IEnumerable, ISupportInitialize, ICellSpanBackgroundsProvider
Constructors
GridCellSpanBackgroundInfoCollection(GridModel)
Initializes a new GridCellSpanBackgroundInfoCollection.
Declaration
public GridCellSpanBackgroundInfoCollection(GridModel gridModel)
Parameters
Type | Name | Description |
---|---|---|
GridModel | gridModel | The grid model. |
Properties
IsEmpty
Returns false.
Declaration
public override bool IsEmpty { get; }
Property Value
Type |
---|
System.Boolean |
Overrides
Methods
GetCellSpanBackgrounds(Int32, Int32)
Gets the cell span backgrounds that include the specified cells row and column index.
Declaration
public List<CellSpanBackgroundInfo> GetCellSpanBackgrounds(int rowIndex, int columnIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Index of the row. |
System.Int32 | columnIndex | Index of the column. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<CellSpanBackgroundInfo> | Cell span backgrounds. |
OnGetCellSpans(Int32, Int32, out List<CellSpanBackgroundInfo>)
Declaration
protected override bool OnGetCellSpans(int rowIndex, int columnIndex, out List<CellSpanBackgroundInfo> result)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | |
System.Int32 | columnIndex | |
System.Collections.Generic.List<CellSpanBackgroundInfo> | result |
Returns
Type |
---|
System.Boolean |