Table of Contents

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 string

Name of property that changed.

SetValue<T>(ref T, T, string)

protected void SetValue<T>(ref T property, T value, string propertyName = null)

Parameters

property T
value T
propertyName 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 T
value T
propertyNames string[]

Type Parameters

T

Events

PropertyChanged

Occurs when a property value changes

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler