Table of Contents

Class SidebarItem

Namespace
Playnite.SDK.Plugins
Assembly
Playnite.SDK.dll

Represents sidebar API object.

public class SidebarItem : ObservableObject, INotifyPropertyChanged
Inheritance
SidebarItem
Implements
Inherited Members

Constructors

SidebarItem()

Creates new instance of SidebarItem.

public SidebarItem()

Properties

Activated

Called when item is activated.

public Action Activated { get; set; }

Property Value

Action

Closed

Called when view is closed.

public Action Closed { get; set; }

Property Value

Action

Icon

Gets or sets item icon.

public object Icon { get; set; }

Property Value

object

IconPadding

Gets or sets visual item padding.

public Thickness IconPadding { get; set; }

Property Value

Thickness

Opened

Called when view is to be opened.

public Func<Control> Opened { get; set; }

Property Value

Func<Control>

View control to be shown.

ProgressMaximum

Gets or sets maximum progress value.

public double ProgressMaximum { get; set; }

Property Value

double

ProgressValue

Gets or sets current progress value.

public double ProgressValue { get; set; }

Property Value

double

Title

Gets or sets item title.

public string Title { get; set; }

Property Value

string

Type

Gets or sets item type.

public SiderbarItemType Type { get; set; }

Property Value

SiderbarItemType

Visible

Gets or sets item visibility.

public bool Visible { get; set; }

Property Value

bool