menu

WinForms

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

    Show / Hide Table of Contents

    Struct RowColumnIndex

    Represents a pair of row and column indices.

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Forms.PivotAnalysis
    Assembly: Syncfusion.PivotAnalysis.Windows.dll
    Syntax
    public struct RowColumnIndex

    Constructors

    RowColumnIndex(Int32, Int32)

    Initializes a new instance of the RowColumnIndex structure with the specified row and column indices.

    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

    Gets or sets the column index.

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

    Empty

    Gets the empty row and column coordinates containing values of System.Int32.MinValue.

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

    The empty.

    IsEmpty

    Gets a value indicating whether this instance is empty or not.

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

    true if this instance is empty; otherwise, false. The default value is false.

    RowIndex

    Gets or sets the row index.

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

    Methods

    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 object to compare with the current object.

    Returns
    Type Description
    System.Boolean

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

    Overrides
    System.ValueType.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.ValueType.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.ValueType.ToString()

    Operators

    Equality(RowColumnIndex, RowColumnIndex)

    Determines whether two specified objects have the same value.

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

    The first row column index value to compare.

    RowColumnIndex r2

    The second row column index value to compare.

    Returns
    Type Description
    System.Boolean

    true if the value of r1 is the same as the value of r2; otherwise, false.

    Inequality(RowColumnIndex, RowColumnIndex)

    Determines whether two specified objects have different values.

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

    The first row column index value to compare.

    RowColumnIndex r2

    The second row column index value to compare.

    Returns
    Type Description
    System.Boolean

    true if the value of r1 is different from the value of r2; otherwise, false.

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