Table of Contents

Class SidebarItem

Namespace
Playnite
Assembly
Playnite.SDK.dll

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

public abstract class SidebarItem : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging, IAsyncDisposable
Inheritance
SidebarItem
Implements
Derived
Inherited Members

Constructors

SidebarItem()

public SidebarItem()

Properties

Icon

[ExcludeFromCodeCoverage]
public UIIcon? Icon { get; set; }

Property Value

UIIcon

Tooltip

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

Property Value

string

UseDefaultItemStyling

public bool UseDefaultItemStyling { get; set; }

Property Value

bool

Visible

[ExcludeFromCodeCoverage]
public bool Visible { get; set; }

Property Value

bool

Methods

ClickAsync(ClickAsyncArgs)

public virtual Task ClickAsync(SidebarItem.ClickAsyncArgs args)

Parameters

args SidebarItem.ClickAsyncArgs

Returns

Task

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public virtual ValueTask DisposeAsync()

Returns

ValueTask

A task that represents the asynchronous dispose operation.