menu

WPF

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

    Show / Hide Table of Contents

    Class CoveredCellInfo

    Defines the merge range by Top, Bottom, Left and Right.

    Inheritance
    System.Object
    CoveredCellInfo
    Implements
    System.IComparable<CoveredCellInfo>
    System.IComparable
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class CoveredCellInfo : IComparable<CoveredCellInfo>, IComparable

    Constructors

    CoveredCellInfo(Int32, Int32, Int32, Int32)

    Initializes a new instance of CoveredCellInfo with the specified left,righ,top and bottom indexes for the cell.

    Declaration
    public CoveredCellInfo(int left, int right, int top, int bottom)
    Parameters
    Type Name Description
    System.Int32 left

    The left index.

    System.Int32 right

    The right index.

    System.Int32 top

    The top index.

    System.Int32 bottom

    The bottom index.

    CoveredCellInfo(Int32, Int32, Int32, Int32, Int32)

    Initializes a new instance of CoveredCellInfo with the specified row index and left,righ,top,bottom indexes for the cell.

    Declaration
    public CoveredCellInfo(int row, int left, int right, int top, int bottom)
    Parameters
    Type Name Description
    System.Int32 row

    The specified row index.

    System.Int32 left

    The left index.

    System.Int32 right

    The right index.

    System.Int32 top

    The top index.

    System.Int32 bottom

    The bottom index.

    CoveredCellInfo(String, Int32, Int32, Int32, Int32)

    Initializes a new instance of CoveredCellInfo with the specified name and left,righ,top,bottom indexes for the cell.

    Declaration
    public CoveredCellInfo(string name, int left, int right, int top, int bottom)
    Parameters
    Type Name Description
    System.String name

    The specified name.

    System.Int32 left

    The left index.

    System.Int32 right

    The right index.

    System.Int32 top

    The top index.

    System.Int32 bottom

    The bottom index.

    Properties

    Bottom

    Gets the bottom index for the cell.

    Declaration
    public int Bottom { get; }
    Property Value
    Type
    System.Int32

    Height

    Gets Height for the cell.

    Declaration
    public int Height { get; }
    Property Value
    Type
    System.Int32

    Left

    Gets Left index for the cell.

    Declaration
    public int Left { get; }
    Property Value
    Type
    System.Int32

    MappedRowColumnIndex

    Gets or sets the RowColumnIndex of the GridCell that spanned the range in view.

    Declaration
    public RowColumnIndex MappedRowColumnIndex { get; set; }
    Property Value
    Type
    RowColumnIndex

    Name

    Gets Name of the StackedColumn corresponding to the Cell.

    Declaration
    public string Name { get; }
    Property Value
    Type
    System.String

    Right

    Gets Right index for the cell.

    Declaration
    public int Right { get; }
    Property Value
    Type
    System.Int32

    Row

    Gets Row index for the coveredCell.

    Declaration
    public int Row { get; }
    Property Value
    Type
    System.Int32

    RowSpan

    Gets or sets RowSpan for the cell.

    Declaration
    public int RowSpan { get; }
    Property Value
    Type
    System.Int32

    Top

    Gets the top index for the cell.

    Declaration
    public int Top { get; }
    Property Value
    Type
    System.Int32

    Width

    Gets Width for the cell.

    Declaration
    public int Width { get; }
    Property Value
    Type
    System.Int32
    Remarks

    difference between left and right index of the cell

    Methods

    CompareTo(CoveredCellInfo)

    Compares this instance to a specified object

    Declaration
    public int CompareTo(CoveredCellInfo other)
    Parameters
    Type Name Description
    CoveredCellInfo other

    The specified object.

    Returns
    Type Description
    System.Int32

    An integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.

    Contains(Int32, Int32)

    Determines the specified cell is inside span.

    Declaration
    public bool Contains(int rowIndex, int columnIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex
    System.Int32 columnIndex
    Returns
    Type
    System.Boolean

    ContainsColumn(Int32)

    Determines the specified column is inside range.

    Declaration
    public bool ContainsColumn(int columnIndex)
    Parameters
    Type Name Description
    System.Int32 columnIndex
    Returns
    Type
    System.Boolean

    ContainsRow(Int32)

    Determines the specified row is inside span.

    Declaration
    public bool ContainsRow(int rowIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex
    Returns
    Type
    System.Boolean

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The specified object.

    Returns
    Type Description
    System.Boolean

    true if the current object is equal to the specified object; otherwise false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    A hash code for the current object.

    Overrides
    System.Object.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    IComparable.CompareTo(Object)

    Declaration
    int IComparable.CompareTo(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type
    System.Int32

    Implements

    System.IComparable<T>
    System.IComparable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved