UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RowColumnIndex

    Show / Hide Table of Contents

    Class RowColumnIndex

    Holds the coordinates for a cell.

    Inheritance
    System.Object
    RowColumnIndex
    Namespace: Syncfusion.UI.Xaml.ScrollAxis
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public sealed class RowColumnIndex : ValueType

    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 Description
    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 Description
    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.

    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.

    ToString()

    Returns the type name with state of this instance.

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

    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.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved