ObservableObject<T> Class
Class that wraps an object, so that other classes can notify for Change events. Typically, this class is set as a Dependency Property on DependencyObjects, and allows other classes to observe any changes in the Value.
Namespace: Microsoft.Practices.Prism
Assembly: Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)
Syntax
public class ObservableObject<T> : FrameworkElement,
INotifyPropertyChanged
'Declaration
Public Class ObservableObject(Of T) _
Inherits FrameworkElement _
Implements INotifyPropertyChanged
Type Parameters
- T
The type of the property that's wrapped in the Observable object
Remarks
This class is required, because in Silverlight, it's not possible to receive Change notifications for Dependency properties that you do not own.
Inheritance Hierarchy
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
Microsoft.Practices.Prism.ObservableObject<T>