menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RowColumnIndexValueArray<T> - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RowColumnIndexValueArray<T>

    A generic class that emulates a subset of a Dictionary{T}. Internally rows are hold in a dictionary and each row has a dictionary of cells. The class also provides support for adding, removing and moving rows and columns.

    Inheritance
    System.Object
    RowColumnIndexValueArray<T>
    GridCellData
    GridCellData2
    Implements
    System.Collections.Generic.IEnumerable<SerializableKeyValuePair<RowColumnIndex, T>>
    System.Collections.IEnumerable
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
    Assembly: Syncfusion.SfCellGrid.UWP.dll
    Syntax
    public class RowColumnIndexValueArray<T> : Object, IEnumerable<SerializableKeyValuePair<RowColumnIndex, T>>, IEnumerable, IDisposable
    Type Parameters
    Name
    T

    Constructors

    RowColumnIndexValueArray()

    Declaration
    public RowColumnIndexValueArray()

    RowColumnIndexValueArray(IRowColumnIndexValueArrayCallbacks<T>)

    Declaration
    public RowColumnIndexValueArray(IRowColumnIndexValueArrayCallbacks<T> callback)
    Parameters
    Type Name Description
    IRowColumnIndexValueArrayCallbacks<T> callback

    Properties

    Item[RowColumnIndex]

    Declaration
    public T this[RowColumnIndex cell] { get; set; }
    Parameters
    Type Name Description
    RowColumnIndex cell
    Property Value
    Type
    T

    Item[Int32, Int32]

    Declaration
    public T this[int rowIndex, int columnIndex] { get; set; }
    Parameters
    Type Name Description
    System.Int32 rowIndex
    System.Int32 columnIndex
    Property Value
    Type
    T

    Rows

    Declaration
    public List<IntegerCellsArray<T>> Rows { get; }
    Property Value
    Type
    System.Collections.Generic.List<IntegerCellsArray<T>>

    Methods

    Add(SerializableKeyValuePair<RowColumnIndex, T>)

    Adds the cell and its value the dictionary.

    Declaration
    public void Add(SerializableKeyValuePair<RowColumnIndex, T> value)
    Parameters
    Type Name Description
    SerializableKeyValuePair<RowColumnIndex, T> value

    Add(RowColumnIndex, T)

    Adds the cell and its value the dictionary. There is no "OnMoved" callback triggered.

    Declaration
    public void Add(RowColumnIndex cell, T value)
    Parameters
    Type Name Description
    RowColumnIndex cell
    T value

    Clear()

    Clears out the dictionary. There are no "OnMoved" callback triggered.

    Declaration
    public void Clear()

    Clear(RowColumnIndex)

    Removes the cell from the dictionary. There is no "OnRemoved" callback triggered.

    Declaration
    public bool Clear(RowColumnIndex cell)
    Parameters
    Type Name Description
    RowColumnIndex cell
    Returns
    Type
    System.Boolean

    ContainsKey(RowColumnIndex)

    Declaration
    public bool ContainsKey(RowColumnIndex cell)
    Parameters
    Type Name Description
    RowColumnIndex cell
    Returns
    Type
    System.Boolean

    Dispose()

    Call the Dispose and SuppressFinalize method for dipose the instance of RowColumnIndexValueArray<T> class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose the live resources used by the RowColumnIndexValueArray<T> class.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Dispose the instance, if it is True

    GetEnumerator()

    Declaration
    public IEnumerator<SerializableKeyValuePair<RowColumnIndex, T>> GetEnumerator()
    Returns
    Type
    System.Collections.Generic.IEnumerator<SerializableKeyValuePair<RowColumnIndex, T>>

    InsertColumns(Int32, Int32)

    Declaration
    public void InsertColumns(int insertAtColumnIndex, int count)
    Parameters
    Type Name Description
    System.Int32 insertAtColumnIndex
    System.Int32 count

    InsertColumns(Int32, Int32, RowColumnIndexValueArray<T>)

    Declaration
    public void InsertColumns(int insertAtColumnIndex, int count, RowColumnIndexValueArray<T> moveCells)
    Parameters
    Type Name Description
    System.Int32 insertAtColumnIndex
    System.Int32 count
    RowColumnIndexValueArray<T> moveCells

    InsertRows(Int32, Int32)

    Declaration
    public void InsertRows(int insertAtRowIndex, int count)
    Parameters
    Type Name Description
    System.Int32 insertAtRowIndex
    System.Int32 count

    InsertRows(Int32, Int32, RowColumnIndexValueArray<T>)

    Declaration
    public void InsertRows(int insertAtRowIndex, int count, RowColumnIndexValueArray<T> moveCells)
    Parameters
    Type Name Description
    System.Int32 insertAtRowIndex
    System.Int32 count
    RowColumnIndexValueArray<T> moveCells

    Remove(RowColumnIndex)

    Removes the cell from the dictionary. There is no "OnRemoved" callback triggered.

    Declaration
    public bool Remove(RowColumnIndex cell)
    Parameters
    Type Name Description
    RowColumnIndex cell
    Returns
    Type
    System.Boolean

    RemoveAll()

    Removes all entries from the dictionary and calls "OnRemoveCell" callback for each deleted cell.

    Declaration
    public virtual void RemoveAll()

    RemoveColumns(Int32, Int32)

    Declaration
    public void RemoveColumns(int removeAtColumnIndex, int count)
    Parameters
    Type Name Description
    System.Int32 removeAtColumnIndex
    System.Int32 count

    RemoveColumns(Int32, Int32, RowColumnIndexValueArray<T>)

    Declaration
    public void RemoveColumns(int removeAtColumnIndex, int count, RowColumnIndexValueArray<T> moveCells)
    Parameters
    Type Name Description
    System.Int32 removeAtColumnIndex
    System.Int32 count
    RowColumnIndexValueArray<T> moveCells

    RemoveRows(Int32, Int32)

    Declaration
    public void RemoveRows(int removeAtRowIndex, int count)
    Parameters
    Type Name Description
    System.Int32 removeAtRowIndex
    System.Int32 count

    RemoveRows(Int32, Int32, RowColumnIndexValueArray<T>)

    Declaration
    public void RemoveRows(int removeAtRowIndex, int count, RowColumnIndexValueArray<T> moveCells)
    Parameters
    Type Name Description
    System.Int32 removeAtRowIndex
    System.Int32 count
    RowColumnIndexValueArray<T> moveCells

    SetCallback(IRowColumnIndexValueArrayCallbacks<T>)

    Declaration
    public void SetCallback(IRowColumnIndexValueArrayCallbacks<T> callback)
    Parameters
    Type Name Description
    IRowColumnIndexValueArrayCallbacks<T> callback

    TryGetValue(RowColumnIndex, out T)

    Declaration
    public bool TryGetValue(RowColumnIndex cell, out T value)
    Parameters
    Type Name Description
    RowColumnIndex cell
    T value
    Returns
    Type
    System.Boolean

    Implements

    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    System.IDisposable

    Extension Methods

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