ObservableObjectBase Class
A simple object that implements INotifyPropertyChanged.
public abstract class ObservableObjectBase
- Inheritance:
- object object
- Derived:
- HighlightingStyle
Constructors
ObservableObjectBase()
Initializes an instance of the class.
protected ObservableObjectBase()
Methods
NotifyPropertyChanged(string)
Notifies that a property has changed.
protected void NotifyPropertyChanged(string propertyName)
Parameter | Type | Description |
---|---|---|
propertyName | 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 | PropertyChangedEventArgs | The PropertyChangedEventArgs that contains the event data. |
Events
PropertyChanged
Occurs when a property has been changed.