menu

WinForms

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

    Show / Hide Table of Contents

    Class DisplayItems

    Virtual collection which hold the list of items to be displayed

    Inheritance
    System.Object
    DisplayItems
    Implements
    System.Collections.Generic.IList<System.Object>
    System.Collections.Generic.ICollection<System.Object>
    System.Collections.Generic.IEnumerable<System.Object>
    System.Collections.IEnumerable
    System.IDisposable
    System.Collections.Specialized.INotifyCollectionChanged
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    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.DataSource
    Assembly: Syncfusion.DataSource.WinForms.dll
    Syntax
    public class DisplayItems : IList<object>, ICollection<object>, IEnumerable<object>, IEnumerable, IDisposable, INotifyCollectionChanged, INotifyPropertyChanged

    Constructors

    DisplayItems(GroupList, IList<Object>)

    Initializes a new instance of the DisplayItems class.

    Declaration
    public DisplayItems(GroupList groupList, IList<object> source)
    Parameters
    Type Name Description
    GroupList groupList

    The GroupList.

    System.Collections.Generic.IList<System.Object> source

    List of objects

    Properties

    Count

    Gets the total number of display items

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

    Returns the integer value.

    IsReadOnly

    Gets a value indicating whether DisplayItems is read only or not

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

    Returns the boolean value.

    Item[Int32]

    Return the display item in the index

    Declaration
    public object this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    Index of the display item

    Property Value
    Type Description
    System.Object

    display item

    Methods

    Add(Object)

    Not implemented

    Declaration
    public void Add(object item)
    Parameters
    Type Name Description
    System.Object item

    Represents the item.

    Clear()

    Not implemented

    Declaration
    public void Clear()

    Contains(Object)

    Not implemented

    Declaration
    public bool Contains(object item)
    Parameters
    Type Name Description
    System.Object item

    Represents the item.

    Returns
    Type Description
    System.Boolean

    Returns the boolean value.

    CopyTo(Object[], Int32)

    Not implemented

    Declaration
    public void CopyTo(object[] array, int arrayIndex)
    Parameters
    Type Name Description
    System.Object[] array

    Represents an array of the object.

    System.Int32 arrayIndex

    Represents the array index of the object.

    Dispose()

    Perform final clean up before it is released from memory.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose the instances, if parameter is true.

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

    Represents the boolean value for disposing objects.

    GetEnumerator()

    Return the IEnumerator of DisplayItems

    Declaration
    public IEnumerator<object> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<System.Object>

    Returns the IEnumerator object.

    IndexOf(Object)

    Not implemented

    Declaration
    public int IndexOf(object item)
    Parameters
    Type Name Description
    System.Object item

    Represents the item.

    Returns
    Type Description
    System.Int32

    Returns the integer value.

    Insert(Int32, Object)

    Not implemented

    Declaration
    public void Insert(int index, object item)
    Parameters
    Type Name Description
    System.Int32 index

    Represents the item index.

    System.Object item

    Represents the item.

    Remove(Object)

    Not implemented

    Declaration
    public bool Remove(object item)
    Parameters
    Type Name Description
    System.Object item

    Represents the item.

    Returns
    Type Description
    System.Boolean

    Returns the boolean value.

    RemoveAt(Int32)

    Not implemented

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Represents the item index.

    Events

    CollectionChanged

    Occurs when an item is added or removed.

    Declaration
    public event NotifyCollectionChangedEventHandler CollectionChanged
    Event Type
    Type
    System.Collections.Specialized.NotifyCollectionChangedEventHandler

    PropertyChanged

    Occurs when the property is changed for the data objects on the collection.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Explicit Interface Implementations

    IEnumerable.GetEnumerator()

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

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    System.IDisposable
    System.Collections.Specialized.INotifyCollectionChanged
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved