WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellSpanBackgroundInfoCollection - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    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 is called for this cell all cell spans will be returned in a list that contain the specified cell.

    Inheritance
    System.Object
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>
    GridCellSpanBackgroundInfoCollection
    Implements
    System.Collections.Generic.IList<CellSpanBackgroundInfo>
    System.Collections.Generic.ICollection<CellSpanBackgroundInfo>
    System.Collections.Generic.IEnumerable<CellSpanBackgroundInfo>
    System.Collections.IEnumerable
    System.ComponentModel.ISupportInitialize
    ICellSpanBackgroundsProvider
    Inherited Members
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.GetCellSpans(Int32, Int32)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.ResetCellSpans(Int32, Int32)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.ResetCellSpan(CellSpanInfoBase)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.SearchCellSpans(CellSpanInfoBase)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.CheckExistCellSpan(CellSpanInfoBase)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.InsertRows(Int32, Int32)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.InsertRows(Int32, Int32, CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.RemoveRows(Int32, Int32)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.RemoveRows(Int32, Int32, CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.InsertColumns(Int32, Int32)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.InsertColumns(Int32, Int32, CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.RemoveColumns(Int32, Int32)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.RemoveColumns(Int32, Int32, CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.BeginInit()
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.EndInit()
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.IndexOf(CellSpanBackgroundInfo)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.Insert(Int32, CellSpanBackgroundInfo)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.RemoveAt(Int32)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.Add(CellSpanBackgroundInfo)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.Clear()
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.Contains(CellSpanBackgroundInfo)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.CopyTo(CellSpanBackgroundInfo[], Int32)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.Remove(CellSpanBackgroundInfo)
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.GetEnumerator()
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.IEnumerable.GetEnumerator()
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.Item[Int32]
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.Count
    CellOverlappSpanInfoCollection<CellSpanBackgroundInfo>.IsReadOnly
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Boolean
    Overrides
    Syncfusion.Windows.Controls.Cells.CellOverlappSpanInfoCollection<Syncfusion.Windows.Controls.Cells.CellSpanBackgroundInfo>.IsEmpty

    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 Description
    System.Boolean
    Overrides
    Syncfusion.Windows.Controls.Cells.CellOverlappSpanInfoCollection<Syncfusion.Windows.Controls.Cells.CellSpanBackgroundInfo>.OnGetCellSpans(System.Int32, System.Int32, System.Collections.Generic.List<Syncfusion.Windows.Controls.Cells.CellSpanBackgroundInfo>)

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    System.ComponentModel.ISupportInitialize
    ICellSpanBackgroundsProvider
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved