WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphicCellUIElementBin<T> - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GraphicCellUIElementBin<T>

    This class implements a cache of UIElement of the given type parameter T. It is used by the GraphicCellRendererBase<T> renderer to recycle UIElement elements for cells that were scrolled out of view and delay unloading of UIElements. This reduces the number of times the UIElement needs to be created or unloaded and instead only the contents of the UIElement will be reinitialized with cell contents.

    Inheritance
    System.Object
    System.Collections.Generic.Dictionary<IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>
    GraphicCellUIElementBin<T>
    Implements
    System.Collections.Generic.IDictionary<IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>
    System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>
    System.Collections.IDictionary
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyDictionary<IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>
    System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>
    System.Collections.IEnumerable
    System.Runtime.Serialization.ISerializable
    System.Runtime.Serialization.IDeserializationCallback
    Inherited Members
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Add(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.Add(System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.Contains(System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.Remove(System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Clear()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.ContainsKey(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.ContainsValue(System.Collections.Generic.Queue<System.WeakReference>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.GetEnumerator()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.GetEnumerator()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.OnDeserialization(System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Remove(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.TryGetValue(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.CopyTo(System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>[], System.Int32)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.get_Item(System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Add(System.Object, System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Contains(System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.GetEnumerator()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Remove(System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Comparer
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Count
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Keys
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IDictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Keys
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IReadOnlyDictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Keys
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Values
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IDictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Values
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IReadOnlyDictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Values
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Item[Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer]
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.IsReadOnly
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.ICollection.IsSynchronized
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.ICollection.SyncRoot
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.IsFixedSize
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.IsReadOnly
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Keys
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Values
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.IGraphicCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Item[System.Object]
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
    Assembly: Syncfusion.SfSpreadsheet.WPF.dll
    Syntax
    public class GraphicCellUIElementBin<T> : Dictionary<IGraphicCellRenderer, Queue<WeakReference>>, IDictionary<IGraphicCellRenderer, Queue<WeakReference>>, ICollection<KeyValuePair<IGraphicCellRenderer, Queue<WeakReference>>>, IDictionary, ICollection, IReadOnlyDictionary<IGraphicCellRenderer, Queue<WeakReference>>, IReadOnlyCollection<KeyValuePair<IGraphicCellRenderer, Queue<WeakReference>>>, IEnumerable<KeyValuePair<IGraphicCellRenderer, Queue<WeakReference>>>, IEnumerable, ISerializable, IDeserializationCallback where T : UIElement
    Type Parameters
    Name Description
    T

    Type of the Element

    Constructors

    GraphicCellUIElementBin()

    Declaration
    public GraphicCellUIElementBin()

    Properties

    Item[IGraphicCellRenderer]

    Gets the System.Collections.Generic.Queue<> for the specified Renderer.

    Declaration
    public Queue<WeakReference> this[IGraphicCellRenderer renderer] { get; }
    Parameters
    Type Name Description
    IGraphicCellRenderer renderer
    Property Value
    Type Description
    System.Collections.Generic.Queue<System.WeakReference>

    Methods

    Dequeue(IGraphicCellRenderer)

    Dequeues an UIElement from the specified canvas.

    Declaration
    public T Dequeue(IGraphicCellRenderer renderer)
    Parameters
    Type Name Description
    IGraphicCellRenderer renderer

    The canvas.

    Returns
    Type Description
    T

    Enqueue(IGraphicCellRenderer, T)

    Enqueues the specified UI element.

    Declaration
    public void Enqueue(IGraphicCellRenderer renderer, T uiElement)
    Parameters
    Type Name Description
    IGraphicCellRenderer renderer
    T uiElement

    The UI element.

    Implements

    System.Collections.Generic.IDictionary<TKey, TValue>
    System.Collections.Generic.ICollection<T>
    System.Collections.IDictionary
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    System.Runtime.Serialization.ISerializable
    System.Runtime.Serialization.IDeserializationCallback

    Extension Methods

    PivotExtension.GroupByMany<TElement>(IEnumerable<TElement>, Int32, Func<TElement, Object>[])
    PivotExtension.GroupByMany<TElement>(IEnumerable<TElement>, IEnumerable<Func<TElement, Object>>)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    ChartExtensionUtils.DistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved