• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • Conversational UI
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin
    Desktop
    UI for WinForms UI for WPF UI for WinUI UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore Fiddler Everywhere
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler Classic JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

Class ObservableItemCollection<T>

System.Collections.ObjectModel.ObservableCollection<> that also raises notifications when one of its items property is changed. The items in the collection should implement System.ComponentModel.INotifyPropertyChanged.

Inheritance
System.Object
RadObservableCollection<T>
ObservableItemCollection<T>
CardDataFieldDescriptorCollection
ItemPropertyDefinitionCollection
PropertyDefinitionCollection
DataPointCollection
AggregateFunctionCollection
FilterDescriptorCollection
GroupDescriptorCollection
HierarchyDescriptorCollection
SelectDescriptorCollection
SortDescriptorCollection
Inherited Members
RadObservableCollection<T>.AddRange(IEnumerable<T>)
RadObservableCollection<T>.InsertRange(IEnumerable<T>, Int32)
RadObservableCollection<T>.RemoveRange(IEnumerable<T>)
RadObservableCollection<T>.Reset()
RadObservableCollection<T>.OnPropertyChanged(PropertyChangedEventArgs)
RadObservableCollection<T>.OnCollectionChanging(CollectionChangingEventArgs)
RadObservableCollection<T>.InsertItem(Int32, T)
RadObservableCollection<T>.RemoveItem(Int32)
RadObservableCollection<T>.SuspendNotifications()
RadObservableCollection<T>.ResumeNotifications()
RadObservableCollection<T>.RaiseCollectionChangedOnResume()
RadObservableCollection<T>.IsDirty
RadObservableCollection<T>.ShouldResetOnResumeNotifications
RadObservableCollection<T>.NotificationsSuspended
RadObservableCollection<T>.AddedItems
RadObservableCollection<T>.RemovedItems
RadObservableCollection<T>.CollectionChanging
RadObservableCollection<T>.PropertyChanged
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll

Syntax

public class ObservableItemCollection<T> : RadObservableCollection<T>, ISuspendNotifications, INotifyCollectionStateProvider, IWeakEventListener<PropertyChangedEventArgs>, INotifyItemChanged where T : class, INotifyPropertyChanged
Type Parameters
T

Type of the items in the collection. It should implement System.ComponentModel.INotifyPropertyChanged.

Constructors

ObservableItemCollection()

Declaration
public ObservableItemCollection()

Methods

ClearItems()

Declaration
protected override void ClearItems()
Overrides
Telerik.Windows.Data.RadObservableCollection<T>.ClearItems()
Remarks

Unsubscribes from all items System.ComponentModel.INotifyPropertyChanged.PropertyChanged events.

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs e

Overrides
Telerik.Windows.Data.RadObservableCollection<T>.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)

OnItemChanged(ItemChangedEventArgs<T>)

Raises the ItemChanged event.

Declaration
protected virtual void OnItemChanged(ItemChangedEventArgs<T> e)
Parameters
ItemChangedEventArgs<T> e

The ItemChangedEventArgs<T> instance containing the event data.

Events

ItemChanged

Raised when some collection item's property is changed.

Declaration
public event EventHandler<ItemChangedEventArgs<T>> ItemChanged
Event Type
System.EventHandler<ItemChangedEventArgs<T>>

Explicit Interface Implementations

INotifyItemChanged.ItemChanged

Raised when some collection item's property is changed.

Declaration
event EventHandler<ItemChangedEventArgs> INotifyItemChanged.ItemChanged
Returns
System.EventHandler<ItemChangedEventArgs>

Implements
INotifyItemChanged.ItemChanged

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.