Class UIPanelListItem
An panel list item. Usually used for showcasing items, but has other uses, i.e. when a Texture should be supplied in addition to a list item.
Inherited Members
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class UIPanelListItem : UIComponent
Constructors
UIPanelListItem(Item, Vector)
Create a new UIPanelListItem from an Item.
Declaration
public UIPanelListItem(Item i, Vector size)
Parameters
| Type | Name | Description |
|---|---|---|
| Item | i | The item |
| Vector | size | The size of the resulting Panel |
UIPanelListItem(Texture, String, String, Vector)
Create a new UIPanelListItem from a Texture, a title, and a subtitle
Declaration
public UIPanelListItem(Texture tex, string title, string subtitle, Vector size)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | tex | The texture |
| System.String | title | The title |
| System.String | subtitle | The subtitle |
| Vector | size | The size of the resulting Panel |
Properties
AttachedAgent
An Agent attached to this UIPanelListItem
Declaration
public Agent AttachedAgent { get; set; }
Property Value
| Type | Description |
|---|---|
| Agent |
AttachedString
A string attached to this UIPanelListItem
Declaration
public string AttachedString { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MyIcon
The Icon of this UIPanelListItem
Declaration
public Texture MyIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| Texture |
Subtitle
The Subtitle of this UIPanelListItem
Declaration
public UIMulticolorParagraph Subtitle { get; set; }
Property Value
| Type | Description |
|---|---|
| UIMulticolorParagraph |
Title
The Title of this UIPanelListItem
Declaration
public UIMulticolorParagraph Title { get; set; }
Property Value
| Type | Description |
|---|---|
| UIMulticolorParagraph |