ObservableObject Class

Definition

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

C++
public ref class ObservableObject : System::ComponentModel::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

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022