Class DisplayItems
Virtual collection which hold the list of items to be displayed
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataSource
Assembly: Syncfusion.Maui.DataSource.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. |
| IList<object> | source | List of objects |
Properties
Count
Gets the total number of display items
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int | 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 |
|---|---|
| bool | Returns the boolean value. |
this[int]
Return the display item in the index
Declaration
public object this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | Index of the display item |
Property Value
| Type | Description |
|---|---|
| object | display item |
Methods
Add(object)
Not implemented
Declaration
public void Add(object item)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
|---|---|---|
| object | item | Represents the item. |
Returns
| Type | Description |
|---|---|
| bool | Returns the boolean value. |
CopyTo(object[], int)
Not implemented
Declaration
public void CopyTo(object[] array, int arrayIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| object[] | array | Represents an array of the object. |
| int | arrayIndex | Represents the array index of the object. |
Dispose()
Perform final clean up before it is released from memory.
Declaration
public void Dispose()
Dispose(bool)
Dispose the instances, if parameter is true.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Represents the boolean value for disposing objects. |
GetEnumerator()
Return the IEnumerator of DisplayItems
Declaration
public IEnumerator<object> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<object> | Returns the IEnumerator object. |
IndexOf(object)
Not implemented
Declaration
public int IndexOf(object item)
Parameters
| Type | Name | Description |
|---|---|---|
| object | item | Represents the item. |
Returns
| Type | Description |
|---|---|
| int | Returns the integer value. |
Insert(int, object)
Not implemented
Declaration
public void Insert(int index, object item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | Represents the item index. |
| object | item | Represents the item. |
Remove(object)
Not implemented
Declaration
public bool Remove(object item)
Parameters
| Type | Name | Description |
|---|---|---|
| object | item | Represents the item. |
Returns
| Type | Description |
|---|---|
| bool | Returns the boolean value. |
RemoveAt(int)
Not implemented
Declaration
public void RemoveAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | Represents the item index. |
Events
CollectionChanged
Occurs when an item is added or removed.
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
| Type |
|---|
| NotifyCollectionChangedEventHandler |
PropertyChanged
Occurs when the property is changed for the data objects on the collection.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| PropertyChangedEventHandler |