menu

WPF

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

    Show / Hide Table of Contents

    Class TreeGridCoveredCellInfo

    Represents a class that defines the merge range by Left, Right and RowIndex.

    Inheritance
    System.Object
    TreeGridCoveredCellInfo
    Implements
    System.IComparable<TreeGridCoveredCellInfo>
    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.TreeGrid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class TreeGridCoveredCellInfo : IComparable<TreeGridCoveredCellInfo>, IComparable

    Constructors

    TreeGridCoveredCellInfo(Int32, Int32, Int32)

    Initializes an instance of the TreeGridCoveredCellInfo class.

    Declaration
    public TreeGridCoveredCellInfo(int left, int right, int rowindex)
    Parameters
    Type Name Description
    System.Int32 left

    The left index of the range.

    System.Int32 right

    The right index of the range.

    System.Int32 rowindex

    The row index to be merged.

    Properties

    Left

    Gets the left index of the covered range.

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

    Right

    Gets the right index of the covered range.

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

    RowIndex

    Gets the row index of the covered range.

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

    Methods

    CompareTo(TreeGridCoveredCellInfo)

    Compares the given covered range with the existing range.

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

    The range that needs to be compared.

    Returns
    Type Description
    System.Int32

    Returns 0 if both values are equals; otherwise, returns Non-Zero.

    Contains(Int32, Int32)

    Checks whether the given row and column index exists in the covered range or not.

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

    The row index.

    System.Int32 columnIndex

    The column index.

    Returns
    Type Description
    System.Boolean

    Returns true if exists within the covered range. Otherwise, false.

    ContainsColumn(Int32)

    Checks whether the specified column is exists in the covered range.

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

    The column index.

    Returns
    Type Description
    System.Boolean

    Returns true if the given column index presents in the covered range. Otherwise, false.

    Equals(Object)

    Overridden to compare the given object with the TreeGridCoveredCellInfo].

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

    The object which needs to be compared.

    Returns
    Type Description
    System.Boolean

    Returns true if both objects are equal. Otherwise, false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Serves as the default hash function.

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

    ToString()

    Formats the given range value as string.

    Declaration
    public override string ToString()
    Returns
    Type
    System.String
    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