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
Tooltip
[ExcludeFromCodeCoverage]
public string? Tooltip { get; set; }
Property Value
UseDefaultItemStyling
public bool UseDefaultItemStyling { get; set; }
Property Value
Visible
[ExcludeFromCodeCoverage]
public bool Visible { get; set; }
Property Value
Methods
ClickAsync(ClickAsyncArgs)
public virtual Task ClickAsync(SidebarItem.ClickAsyncArgs args)
Parameters
Returns
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.