Table of Contents

Class ViewConfiguration

Namespace
Playnite
Assembly
Playnite.SDK.dll

A base class for objects of which the properties must be observable.

public class ViewConfiguration : LibraryObject, INotifyPropertyChanged, INotifyPropertyChanging, ICopyable<ViewConfiguration>
Inheritance
ViewConfiguration
Implements
Inherited Members

Constructors

ViewConfiguration()

public ViewConfiguration()

ViewConfiguration(string)

public ViewConfiguration(string name)

Parameters

name string

Fields

LastUsedViewConfiguration

public const string LastUsedViewConfiguration = "last_view_config_id"

Field Value

string

Properties

Filtering

[ExcludeFromCodeCoverage]
public FilteringConfiguration? Filtering { get; set; }

Property Value

FilteringConfiguration

GamesViewType

[ExcludeFromCodeCoverage]
public DesktopView? GamesViewType { get; set; }

Property Value

DesktopView?

GroupByField

[ExcludeFromCodeCoverage]
public string? GroupByField { get; set; }

Property Value

string

SortByField

[ExcludeFromCodeCoverage]
public string? SortByField { get; set; }

Property Value

string

SortDescending

[ExcludeFromCodeCoverage]
public bool? SortDescending { get; set; }

Property Value

bool?

Methods

GetCopy()

public ViewConfiguration GetCopy()

Returns

ViewConfiguration

GetDiffProperties(ViewConfiguration)

public HashSet<string> GetDiffProperties(ViewConfiguration target)

Parameters

target ViewConfiguration

Returns

HashSet<string>