menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphicCellRendererCollection - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GraphicCellRendererCollection

    Collection of IGrapihcCellRenderer

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GraphicCellRendererCollection
    Implements
    System.IDisposable
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    Disposable.Finalize()
    NonFinalizeDisposable.Dispose()
    Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
    Assembly: Syncfusion.SfSpreadsheet.UWP.dll
    Syntax
    public class GraphicCellRendererCollection : Disposable, IDisposable, ICollection, IEnumerable

    Constructors

    GraphicCellRendererCollection(GraphicModel)

    Declaration
    public GraphicCellRendererCollection(GraphicModel model)
    Parameters
    Type Name Description
    GraphicModel model

    Properties

    Count

    Gets the number of elements contained in the System.Collections.ICollection.

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

    The number of elements contained in the System.Collections.ICollection.

    IsSynchronized

    Gets a value indicating whether access to the System.Collections.ICollection is synchronized (thread safe).

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

    true if access to the System.Collections.ICollection is synchronized (thread safe); otherwise, false.

    Item[String]

    Indexer will return the correspoding renderer for the corresponding Key value.

    Declaration
    public IGraphicCellRenderer this[string key] { get; set; }
    Parameters
    Type Name Description
    System.String key
    Property Value
    Type
    IGraphicCellRenderer

    Keys

    Get the Key values of Renderes

    Declaration
    public ICollection Keys { get; }
    Property Value
    Type
    System.Collections.ICollection

    SyncRoot

    Gets an object that can be used to synchronize access to the System.Collections.ICollection.

    Declaration
    public object SyncRoot { get; }
    Property Value
    Type Description
    System.Object

    An object that can be used to synchronize access to the System.Collections.ICollection.

    Values

    Gets the Renderes in the collection

    Declaration
    public ICollection Values { get; }
    Property Value
    Type
    System.Collections.ICollection

    Methods

    Add(String, IGraphicCellRenderer)

    Add the Renderes to the Renderer dictionary.

    Declaration
    public void Add(string key, IGraphicCellRenderer renderer)
    Parameters
    Type Name Description
    System.String key
    IGraphicCellRenderer renderer

    Clear()

    Clears the values in Renderer Dictionary.

    Declaration
    public void Clear()

    ContainsKey(String)

    Checks whether the Renderer Dictionary contains the Corresponding Renderer Key.

    Declaration
    public bool ContainsKey(string key)
    Parameters
    Type Name Description
    System.String key
    Returns
    Type
    System.Boolean

    ContainsValue(IGraphicCellRenderer)

    Cheks whether the Render Dictionary contains the corresponding renderer.

    Declaration
    public bool ContainsValue(IGraphicCellRenderer cellRenderer)
    Parameters
    Type Name Description
    IGraphicCellRenderer cellRenderer
    Returns
    Type
    System.Boolean

    CopyTo(IGraphicCellRenderer[], Int32)

    Copy the Renderer values to Array.

    Declaration
    public void CopyTo(IGraphicCellRenderer[] array, int index)
    Parameters
    Type Name Description
    IGraphicCellRenderer[] array
    System.Int32 index

    CopyTo(Array, Int32)

    Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.

    Declaration
    public void CopyTo(Array array, int index)
    Parameters
    Type Name Description
    System.Array array

    The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing.

    System.Int32 index

    The zero-based index in array at which copying begins.

    Exceptions
    Type Condition
    System.ArgumentException

    array is multidimensional.-or- The number of elements in the source System.Collections.ICollection is greater than the available space from index to the end of the destination array.-or-The type of the source System.Collections.ICollection cannot be cast automatically to the type of the destination array.

    System.ArgumentOutOfRangeException

    index is less than zero.

    System.ArgumentNullException

    array is null.

    Dispose(Boolean)

    Releases the unmanaged resources used by the Component and optionally releases the managed resources.

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

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    NonFinalizeDisposable.Dispose(Boolean)
    Remarks

    See the documentation for the System.ComponentModel.Component class and its Dispose member.

    GetEnumerator()

    Returns the Enumerator for retriving the values.

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type
    System.Collections.IEnumerator

    Remove(String)

    Remove the Renderer from dictionary for corresponding key vallue

    Declaration
    public void Remove(string key)
    Parameters
    Type Name Description
    System.String key

    Implements

    System.IDisposable
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

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