Class DisplayItems
Virtual collection which hold the list of items to be displayed
Inheritance
Implements
Namespace: Syncfusion.DataSource
Assembly: Syncfusion.DataSource.Portable.dll
Syntax
public class DisplayItems : Object, 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 |