Share via


ObservableObject Class

Definition

This type is forwarded from MS.VS.Shell.xx.dll

public ref class ObservableObject : System::ComponentModel::INotifyPropertyChanged
[System.Runtime.Serialization.DataContract]
public class ObservableObject : System.ComponentModel.INotifyPropertyChanged
[<System.Runtime.Serialization.DataContract>]
type ObservableObject = class
    interface INotifyPropertyChanged
Public Class ObservableObject
Implements INotifyPropertyChanged
Inheritance
ObservableObject
Derived
Attributes
Implements

Constructors

ObservableObject()

Initializes a new instance of the ObservableObject class.

Properties

HasPropertyChangedEventSinks

Returns a value indicating whether this object's PropertyChanged event has any subscriptions

Methods

NotifyPropertyChanged(String)

The method that is called when a property has changed.

SetProperty(IntPtr, IntPtr, String)
SetProperty(UIntPtr, UIntPtr, String)
SetProperty<T>(T, T, Action, String)

Checks for a change to a value, and if the value is different, stores the value and notifies of property changes.

SetProperty<T>(T, T, Action<T,T>, String)

Checks for a change to a value, and if the value is different, stores the value and notifies of property changes.

SetProperty<T>(T, T, String)

Checks for a change to a value, and if the value is different, stores the value and notifies of property changes.

Events

PropertyChanged

The event that is raised when a property has changed.

Applies to