Class ObservableObject
- Namespace
- System.Collections.Generic
- Assembly
- Playnite.SDK.dll
Represents object implementing INotifyPropertyChanged.
public abstract class ObservableObject : INotifyPropertyChanged
- Inheritance
-
ObservableObject
- Implements
- Derived
- Inherited Members
Methods
OnPropertyChanged(string)
Invokes PropertyChanged events.
public void OnPropertyChanged(string name = null)
Parameters
name
stringName of property that changed.
SetValue<T>(ref T, T, string)
protected void SetValue<T>(ref T property, T value, string propertyName = null)
Parameters
property
Tvalue
TpropertyName
string
Type Parameters
T
SetValue<T>(ref T, T, params string[])
protected void SetValue<T>(ref T property, T value, params string[] propertyNames)
Parameters
property
Tvalue
TpropertyNames
string[]
Type Parameters
T
Events
PropertyChanged
Occurs when a property value changes
public event PropertyChangedEventHandler PropertyChanged