Class
MapItemsCollection

Represents collection of the visualization layer items.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization.Map

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class MapItemsCollection : BindableCollection<object>, IList<object>, ICollection<object>, IList, ICollection, IReadOnlyList<object>, IReadOnlyCollection<object>, IEnumerable<object>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IWeakEventListener

Inheritance: objectCollection<object>ObservableCollection<object>BindableCollection<object>MapItemsCollection

Implements: ICollectionICollection<object>IEnumerableIEnumerable<object>IListIList<object>INotifyCollectionChangedINotifyPropertyChangedIReadOnlyCollection<object>IReadOnlyList<object>IWeakEventListener

Inherited Members ObservableCollection<object>.Move(int, int)ObservableCollection<object>.ClearItems()ObservableCollection<object>.RemoveItem(int)ObservableCollection<object>.InsertItem(int, object)ObservableCollection<object>.SetItem(int, object)ObservableCollection<object>.MoveItem(int, int)ObservableCollection<object>.OnPropertyChanged(PropertyChangedEventArgs)ObservableCollection<object>.BlockReentrancy()ObservableCollection<object>.CheckReentrancy()ObservableCollection<object>.CollectionChangedObservableCollection<object>.PropertyChangedCollection<object>.Clear()Collection<object>.CopyTo(object[], int)Collection<object>.Contains(object)Collection<object>.GetEnumerator()Collection<object>.Insert(int, object)Collection<object>.Remove(object)Collection<object>.RemoveAt(int)Collection<object>.Items

Properties

Count

Gets the number of elements actually contained in the collection.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

this[int]

Returns the item at the specified zero-based index in this view.

Declaration

cs-api-definition
public object this[int index] { get; }

Parameters

index

int

The zero-based index at which the item is located.

Property Value

object

The item at the specified zero-based index in this view.

Methods

Add(object)

Add new item to the collection.

Declaration

cs-api-definition
public void Add(object newItem)

Parameters

newItem

object

Item to add.

GetItemAt(int)

Returns the item at the specified zero-based index in this view.

Declaration

cs-api-definition
public object GetItemAt(int index)

Parameters

index

int

The zero-based index at which the item is located.

Returns

object

The item at the specified zero-based index in this view.

IndexOf(object)

Returns the index in this collection where the specified item is located.

Declaration

cs-api-definition
public int IndexOf(object item)

Parameters

item

object

The object to look for in the collection.

Returns

int

The index of the item in the collection, or -1 if the item does not exist in the collection.

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raises the CollectionChanged event with the provided event data.

Declaration

cs-api-definition
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

The event data to report in the event.

Overrides ObservableCollection<object>.OnCollectionChanged(NotifyCollectionChangedEventArgs)

ReceiveEvent(object, object)

Receives events from the centralized event manager.

Declaration

cs-api-definition
public void ReceiveEvent(object sender, object e)

Parameters

sender

object

Object that originated the event.

e

object

Event data.

Implements IWeakEventListener.ReceiveEvent(object, object)