ObservableObjectBase Class |
Namespace: TomsToolbox.Wpf
The ObservableObjectBase type exposes the following members.
Name | Description | |
---|---|---|
ObservableObjectBase | Initializes a new instance of the ObservableObjectBase class |
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] |
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when a property value changes.
|
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.) |