 | ObservableObjectBase Class |
Inheritance Hierarchy Namespace: TomsToolbox.WpfAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax[SerializableAttribute]
public abstract class ObservableObjectBase : INotifyPropertyChanged,
IDataErrorInfo, INotifyDataErrorInfo
<SerializableAttribute>
Public MustInherit Class ObservableObjectBase
Implements INotifyPropertyChanged, IDataErrorInfo, INotifyDataErrorInfo
The ObservableObjectBase type exposes the following members.
Constructors
Methods | Name | Description |
---|
 | DetachEventSource |
Detaches the event source.
|
 | DetachEventSources |
Detaches all event sources.
|
 | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Overrides ObjectFinalize) |
 | GetDataErrors |
Gets the validation errors for a specified property or for the entire entity.
|
 | OnDataErrorsEvaluated |
Called when data errors have been evaluated. Used e.g. to track data errors for each property.
|
 | OnErrorsChanged |
Raises the ErrorsChanged event.
|
 | OnPropertyChanged(String) |
Raises the PropertyChanged event for the property with the specified name.
[NotifyPropertyChangedInvocator] |
 | OnPropertyChangedT(ExpressionFuncT) |
Raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] |
 | RelayEventsOf(INotifyPropertyChanged) |
Relays the property changed events of the source object.
The properties to relay must be declared with the RelayedEventAttribute.
|
 | RelayEventsOf(INotifyPropertyChanged, INotifyPropertyChanged) |
Relays the property changed events of the source object (if not null) and detaches the old source (if not null).
|
 | SetPropertyT(T, T, ExpressionFuncT) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] |
 | SetPropertyT(T, T, String) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] |
 | SetPropertyT(T, T, ExpressionFuncT, ActionT, T) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] |
 | SetPropertyT(T, T, String, ActionT, T) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] |
 | SetPropertyT(T, T, ActionT, T, String) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] |
Top
Events
Extension Methods | Name | Description |
---|
 | SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |
Top
Remarks
See Also