Click or drag to resize

ObservableObject class

Base class for ViewModels, encapsulates INotifyPropertyChanged. Adopted and adapted from a version by: Roman Semenov (poma) https://github.com/poma/SshConnect/blob/master/SshConnect/MvvmFoundation/ObservableObject.cs. Thank you very much for this initial help. 2018-05-13 Erik Nagel: VerifyPropertyName moved to static class PropertySupport.
Inheritance hierarchy

Namespace: NetEti.MVVMini
Assembly: NetEti.MVVMini (in NetEti.MVVMini.dll) Version: 1.0.0+7b60487fcbc3b95636e4fc726213c9ca8562bee8
Syntax
[SerialisableAttribute]
public abstract class ObservableObject : INotifyPropertyChanged

The ObservableObject Type exposes the following members.

Constructors
 NameDescription of the
Public MethodObservableObject Standard constructor - determines the dispatcher.
Back to the top
Methods
 NameDescription of the
Protected MethodOnPropertyChanged Reports for the UI when a property has changed.
Public MethodRaisePropertyChanged(String) Triggers OnPropertyChanged.
Public MethodRaisePropertyChangedT(ExpressionFuncT) Triggers OnPropertyChanged.
Protected MethodVerifyCalledOnUIThread Checks whether a call is made from the correct thread (dispatcher).
Back to the top
Events
 NameDescription of the
Public EventPropertyChanged The PropertyChanged event for the UI.
Back to the top
Fields
 NameDescription of the
Protected FieldDispatcher The dispatcher of the UI.
Back to the top
See also