In This Article

ObservableObjectBase Class

A simple object that implements INotifyPropertyChanged.

public abstract class ObservableObjectBase : INotifyPropertyChanged
Inheritance:
System.Object Object
Derived:
BarGalleryItemViewModel<TValue> BarHeadingViewModel BarKeyedObjectViewModelBase BarSeparatorViewModel RibbonApplicationButtonViewModel RibbonBackstageHeaderSeparatorViewModel RibbonBackstageViewModel RibbonControlGroupViewModel RibbonFooterSimpleContentViewModel RibbonFooterViewModel RibbonQuickAccessToolBarViewModel RibbonTabRowToolBarViewModel RibbonViewModel StandaloneToolBarViewModel LegendKey DataPointBase DataModelBase CategoryEditor CategoryEditorProperty PropertyEditor MicroDataPointBase NavigationBarOptionsWindowItem RibbonWindowTitleBarViewModel ShellObjectViewModel HighlightingStyle ThemeDefinition

Constructors

ObservableObjectBase()

protected ObservableObjectBase()

Methods

NotifyPropertyChanged(String)

Notifies that a property has changed.

protected void NotifyPropertyChanged(string propertyName)
Parameter Type Description
propertyName System.String

The name of the property that was changed.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameter Type Description
e System.ComponentModel.PropertyChangedEventArgs

The System.ComponentModel.PropertyChangedEventArgs that contains the event data.

Events

PropertyChanged

Occurs when a property has been changed.

public event PropertyChangedEventHandler PropertyChanged

Event Type

System.ComponentModel.PropertyChangedEventHandler

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()