menu

WPF

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

    Show / Hide Table of Contents

    Struct RowColumnIndex

    Holds the coordinates for a cell.

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.UI.Xaml.Grid.ScrollAxis
    Assembly: Syncfusion.SfGridCommon.WPF.dll
    Syntax
    public struct RowColumnIndex
    Remarks

    Maintains zero-based index of the rows and columns.

    Constructors

    RowColumnIndex(Int32, Int32)

    Initializes a new RowColumnIndex with row and column coordinates.

    Declaration
    public RowColumnIndex(int r, int c)
    Parameters
    Type Name Description
    System.Int32 r

    The row index.

    System.Int32 c

    The column index.

    Properties

    ColumnIndex

    The column index.

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

    Empty

    Gets the empty instance with RowIndex and ColumnIndex set to int.MinValue

    Declaration
    public static RowColumnIndex Empty { get; }
    Property Value
    Type Description
    RowColumnIndex

    The empty.

    IsEmpty

    Gets a value indicating whether this instance is empty.

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is empty; otherwise, false.

    RowIndex

    The row index.

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

    Methods

    Equals(Object)

    Indicates whether this instance and a specified object are equal.

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

    Another object to compare to.

    Returns
    Type Description
    System.Boolean

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Returns the hash code for this instance.

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

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Returns the type name with state of this instance.

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

    Operators

    Equality(RowColumnIndex, RowColumnIndex)

    Implements the operator ==.

    Declaration
    public static bool operator ==(RowColumnIndex r1, RowColumnIndex r2)
    Parameters
    Type Name Description
    RowColumnIndex r1

    The r1.

    RowColumnIndex r2

    The r2.

    Returns
    Type Description
    System.Boolean

    The result of the operator.

    Inequality(RowColumnIndex, RowColumnIndex)

    Implements the operator !=.

    Declaration
    public static bool operator !=(RowColumnIndex r1, RowColumnIndex r2)
    Parameters
    Type Name Description
    RowColumnIndex r1

    The r1.

    RowColumnIndex r2

    The r2.

    Returns
    Type Description
    System.Boolean

    The result of the operator.

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