menu

WPF

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

    Show / Hide Table of Contents

    Class VirtualizingCellUIElementBin<T>

    This class implements a cache of UIElement of the given type parameter T. It is used by the VirtualizingCellUIElementBin<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<IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>
    VirtualizingCellUIElementBin<T>
    Implements
    System.Collections.Generic.IDictionary<IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>
    System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>
    System.Collections.IDictionary
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyDictionary<IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>
    System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<IGridCellRenderer, 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.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Add(Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Clear()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Comparer
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.ContainsKey(Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.ContainsValue(System.Collections.Generic.Queue<System.WeakReference>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Count
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.GetEnumerator()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Item[Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer]
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Keys
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.OnDeserialization(System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Remove(Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.Add(System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.Contains(System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.CopyTo(System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>[], System.Int32)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.IsReadOnly
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.Remove(System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IDictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Keys
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IDictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Values
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>>.GetEnumerator()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IReadOnlyDictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Keys
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.Generic.IReadOnlyDictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Values
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.ICollection.IsSynchronized
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.ICollection.SyncRoot
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Add(System.Object, System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Contains(System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.get_Item(System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.GetEnumerator()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.IsFixedSize
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.IsReadOnly
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Item[System.Object]
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Keys
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Remove(System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IDictionary.Values
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.TryGetValue(Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>)
    System.Collections.Generic.Dictionary<Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.IGridCellRenderer, System.Collections.Generic.Queue<System.WeakReference>>.Values
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.CellGrid.GridCellRenderer
    Assembly: Syncfusion.SfCellGrid.WPF.dll
    Syntax
    public class VirtualizingCellUIElementBin<T> : Dictionary<IGridCellRenderer, Queue<WeakReference>>, IDictionary<IGridCellRenderer, Queue<WeakReference>>, ICollection<KeyValuePair<IGridCellRenderer, Queue<WeakReference>>>, IDictionary, ICollection, IReadOnlyDictionary<IGridCellRenderer, Queue<WeakReference>>, IReadOnlyCollection<KeyValuePair<IGridCellRenderer, Queue<WeakReference>>>, IEnumerable<KeyValuePair<IGridCellRenderer, Queue<WeakReference>>>, IEnumerable, ISerializable, IDeserializationCallback where T : UIElement
    Type Parameters
    Name Description
    T

    Type of the Element

    Constructors

    VirtualizingCellUIElementBin()

    Declaration
    public VirtualizingCellUIElementBin()

    Properties

    Item[IGridCellRenderer]

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

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

    An instance of System.Collections.Generic.Queue<>.

    Methods

    Dequeue(IGridCellRenderer)

    Dequeues an UIElement from the specified canvas.

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

    An instance of .

    Returns
    Type Description
    T

    An UIElement

    Enqueue(IGridCellRenderer, T)

    Enqueues the specified UI element.

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

    An instance of .

    T uiElement

    The UIElement.

    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 - 2025 Syncfusion Inc. All Rights Reserved