Class TagItem
Class representing a tag item in the plugin UI.
Inheritance
System.Object
TagItem
Namespace: Emby.Web.GenericEdit.Elements
Assembly: Emby.Web.GenericEdit.dll
Syntax
public class TagItem
Constructors
TagItem()
Initializes a new instance of the TagItem class.
Declaration
public TagItem()
TagItem(String, TagTypes, String)
Initializes a new instance of the TagItem class.
Declaration
public TagItem(string text, TagTypes tagType, string color = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text. |
TagTypes | tagType | Type of the tag. |
System.String | color | The color. |
Properties
Color
Gets or sets the color.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | The color. |
Icon
Gets or sets an icon for the button.
Declaration
public IconNames? Icon { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IconNames> | The icon. |
StandardIcon
Gets or sets a standard icon.
Declaration
public StandardIcons? StandardIcon { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<StandardIcons> | The standard icon. |
Remarks
If specified, takes precedence over the Icon property.
TagType
Gets or sets the type of the tag.
Declaration
public TagTypes TagType { get; set; }
Property Value
Type | Description |
---|---|
TagTypes | The type of the tag. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |