ClassMapItemsCollection
Represents collection of the visualization layer items.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MapItemsCollection : ObservableCollection<object>, IList<object>, ICollection<object>, IList, ICollection, IReadOnlyList<object>, IReadOnlyCollection<object>, IEnumerable<object>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IWeakEventListener
Inheritance: objectCollection<object>ObservableCollection<object>MapItemsCollection
Implements:
Inherited Members
Properties
Count
Gets the number of elements actually contained in the collection.
Methods
Add(object)
Add new item to the collection.
Declaration
public void Add(object newItem)
Parameters
newItem
Item to add.
DeferRefresh()
Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
Declaration
public IDisposable DeferRefresh()
Returns
An IDisposable object that you can use to dispose of the calling object.
GetItemAt(int)
Returns 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.
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the CollectionChanged event with the provided event data.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
The event data to report in the event.
Overrides
ReceiveWeakEvent(Type, object, EventArgs)
Receives events from the centralized event manager.
Declaration
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
managerType
The type of the WeakEventManager calling this method.
sender
Object that originated the event.
e
Event data.
Returns
true if the listener handled the event. It is considered an error by the WeakEventManager handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle.