Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RangeValuePair<T>

    Show / Hide Table of Contents

    Class RangeValuePair<T>

    Holds a range together with a value assigned to the range.

    Inheritance
    System.Object
    RangeValuePair<T>
    Implements
    System.IComparable
    Namespace: Syncfusion.GridCommon.ScrollAxis
    Assembly: Syncfusion.GridCommon.Portable.dll
    Syntax
    public class RangeValuePair<T> : Object, IComparable
    Type Parameters
    Name Description
    T

    The type of the parameter.

    Constructors

    RangeValuePair(Int32)

    Initializes a new instance of the RangeValuePair class.

    Declaration
    public RangeValuePair(int start)
    Parameters
    Type Name Description
    System.Int32 start

    The start of the range.

    RangeValuePair(Int32, Int32, T)

    Initializes a new instance of the RangeValuePair class.

    Declaration
    public RangeValuePair(int start, int count, T value)
    Parameters
    Type Name Description
    System.Int32 start

    The start of the range.

    System.Int32 count

    The count of the range.

    T value

    The value for the range.

    Properties

    Count

    Gets or sets the count of the range.

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

    The count of the range.

    End

    Gets or sets the end of the range.

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

    The end of the range.

    Start

    Gets or sets the start of the range.

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

    The start of the range.

    Value

    Gets or sets the value for the range.

    Declaration
    public T Value { get; set; }
    Property Value
    Type Description
    T

    The value for the range.

    Methods

    CompareTo(Object)

    Compares the current range with the range of the other object. The value is ignored.

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    System.Object obj

    An object to compare with this instance.

    Returns
    Type Description
    System.Int32

    A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than obj. Zero This instance is equal to obj. Greater than zero This instance is greater than obj.

    ToString()

    Gets the Debug / text information about the node.

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

    Returns a System.String with state information about this System.Object.

    Implements

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