Class PObservableObject
- Namespace
- Playnite
- Assembly
- Playnite.SDK.dll
This should be used only for cases where custom observability is needed, like supression state. Otherwise use ObservableObject from MVVM toolkit.
public abstract class PObservableObject : INotifyPropertyChanged
- Inheritance
-
PObservableObject
- Implements
- Inherited Members
Properties
SuppressNotifications
public bool SuppressNotifications { get; set; }
Property Value
Methods
OnPropertyChanged(string?)
public void OnPropertyChanged(string? name = null)
Parameters
namestring
SetValue<T>(ref T, T, string?)
protected void SetValue<T>(ref T property, T value, string? propertyName = null)
Parameters
propertyTvalueTpropertyNamestring
Type Parameters
T
SetValue<T>(ref T, T, params string[])
protected void SetValue<T>(ref T property, T value, params string[] propertyNames)
Parameters
propertyTvalueTpropertyNamesstring[]
Type Parameters
T
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler? PropertyChanged