menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridBanneredCellPool - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridBanneredCellPool

    Implements storage for bannered cells in the grid and allows a fast way to look up if a specific cell is part of a bannered range.

    Inheritance
    System.Object
    GridBanneredCellPool
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridBanneredCellPool : ISerializable

    Constructors

    GridBanneredCellPool()

    Initializes a new instance of GridBanneredCellPool class.

    Declaration
    public GridBanneredCellPool()

    GridBanneredCellPool(SerializationInfo, StreamingContext)

    Initializes a new instance of GridBanneredCellPool from a serialization stream.

    Declaration
    protected GridBanneredCellPool(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    An object that holds all the data needed to serialize or de-serialize this instance.

    System.Runtime.Serialization.StreamingContext context

    Describes the source and destination of the serialized stream specified by info.

    Methods

    Clear()

    Clears all bannered ranges from this pool.

    Declaration
    public void Clear()

    GetObjectData(SerializationInfo, StreamingContext)

    Implements the ISerializable interface and returns the data needed to serialize the GridBanneredCellPool.

    Declaration
    public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    A SerializationInfo object containing the information required to serialize the object.

    System.Runtime.Serialization.StreamingContext context

    A StreamingContext object containing the source and destination of the serialized stream.

    GetSpanCellsRowCol(Int32, Int32, out GridRangeInfo)

    Determines whether returns the bannered range information for a cell specified with row and column index.

    Declaration
    public bool GetSpanCellsRowCol(int rowIndex, int colIndex, out GridRangeInfo range)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    GridRangeInfo range

    A place holder where bannered cell's range information is returned.

    Returns
    Type Description
    System.Boolean

    True if a bannered cell was found; False otherwise.

    ResetSpanCells(GridRangeInfo)

    Resets spanned cells in the specified range.

    Declaration
    public bool ResetSpanCells(GridRangeInfo range)
    Parameters
    Type Name Description
    GridRangeInfo range

    The range to be reset.

    Returns
    Type Description
    System.Boolean

    True if changes were made; False if there were no bannered ranges.

    ResetSpanCells(GridRangeInfo, Boolean)

    Resets spanned cells in the specified range.

    Declaration
    public bool ResetSpanCells(GridRangeInfo range, bool checkContainment)
    Parameters
    Type Name Description
    GridRangeInfo range

    The range to be reset.

    System.Boolean checkContainment

    True if only bannered cells should be reset that are contained in the range.

    Returns
    Type Description
    System.Boolean

    True if changes were made; False if there were no bannered ranges.

    StoreSpanCells(GridRangeInfo)

    Determines whether saves the bannered cell's information for a specific range.

    Declaration
    public bool StoreSpanCells(GridRangeInfo range)
    Parameters
    Type Name Description
    GridRangeInfo range

    The bannered cell's range to be saved.

    Returns
    Type Description
    System.Boolean

    True if successful; False if there was an error or a range was already existing.

    Implements

    System.Runtime.Serialization.ISerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved