Class StatusItem
Class representing a status item in the plugin UI.
Inheritance
System.Object
StatusItem
Namespace: Emby.Web.GenericEdit.Elements
Assembly: Emby.Web.GenericEdit.dll
Syntax
public class StatusItem
Constructors
StatusItem()
Initializes a new instance of the StatusItem class.
Declaration
public StatusItem()
StatusItem(String, String)
Initializes a new instance of the StatusItem class.
Declaration
public StatusItem(string caption, string statusText)
Parameters
Type | Name | Description |
---|---|---|
System.String | caption | The caption. |
System.String | statusText | The status text. |
StatusItem(String, String, ItemStatus)
Initializes a new instance of the StatusItem class.
Declaration
public StatusItem(string caption, string statusText, ItemStatus status)
Parameters
Type | Name | Description |
---|---|---|
System.String | caption | The caption. |
System.String | statusText | The status text. |
ItemStatus | status | The status. |
Properties
CanHideInCompactView
Gets or sets a value indicating whether the item can be hidden in views with limited screen space.
Declaration
public bool CanHideInCompactView { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
This is intentended for hiding elements in views (like TV mnode), where screen space is limited.
Apply this to non-essential elements only as there might be no way to make them visible at the client side.
Caption
Gets or sets the caption.
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
System.String | The caption. |
Status
Gets or sets the status.
Declaration
public ItemStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ItemStatus | The status. |
StatusText
Gets or sets the status text.
Declaration
public string StatusText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The status text. |