Class ListViewItem
A list view item visual element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class ListViewItem : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement
Constructors
ListViewItem()
Default constructor.
Declaration
public ListViewItem()
Fields
containerUssClassName
The ListViewItem's container USS class name.
Declaration
public static readonly string containerUssClassName
Field Value
| Type | Description |
|---|---|
| string |
leadingContainerUssClassName
The ListViewItem's leading container USS class name.
Declaration
public static readonly string leadingContainerUssClassName
Field Value
| Type | Description |
|---|---|
| string |
loadingUssClassName
The ListViewItem's loading USS class name.
Declaration
public static readonly string loadingUssClassName
Field Value
| Type | Description |
|---|---|
| string |
optionsButtonUssClassName
The ListViewItem's options button USS class name.
Declaration
public static readonly string optionsButtonUssClassName
Field Value
| Type | Description |
|---|---|
| string |
sizeUssClassName
The ListViewItem's size USS class name.
Declaration
public static readonly string sizeUssClassName
Field Value
| Type | Description |
|---|---|
| string |
subtitleUssClassName
The ListViewItem's subtitle USS class name.
Declaration
public static readonly string subtitleUssClassName
Field Value
| Type | Description |
|---|---|
| string |
thumbnailUssClassName
The ListViewItem's thumbnail USS class name.
Declaration
public static readonly string thumbnailUssClassName
Field Value
| Type | Description |
|---|---|
| string |
titleUssClassName
The ListViewItem's title USS class name.
Declaration
public static readonly string titleUssClassName
Field Value
| Type | Description |
|---|---|
| string |
trailingContainerUssClassName
The ListViewItem's trailing container USS class name.
Declaration
public static readonly string trailingContainerUssClassName
Field Value
| Type | Description |
|---|---|
| string |
ussClassName
The ListViewItem's USS class name.
Declaration
public static readonly string ussClassName
Field Value
| Type | Description |
|---|---|
| string |
Properties
contentContainer
Content container.
Declaration
public override VisualElement contentContainer { get; }
Property Value
| Type | Description |
|---|---|
| VisualElement |
Overrides
isLoading
The ListViewItem's loading state.
Declaration
public bool isLoading { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
leadingContainer
The ListViewItem's leading container.
Declaration
public VisualElement leadingContainer { get; }
Property Value
| Type | Description |
|---|---|
| VisualElement |
optionsButton
The ListViewItem's options button.
Declaration
public IconButton optionsButton { get; }
Property Value
| Type | Description |
|---|---|
| IconButton |
size
The ListViewItem's size.
Declaration
public Size size { get; set; }
Property Value
| Type | Description |
|---|---|
| Size |
subtitle
The ListViewItem's subtitle.
Declaration
public string subtitle { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
thumbnail
The ListViewItem's thumbnail.
Declaration
public Texture thumbnail { get; set; }
Property Value
| Type | Description |
|---|---|
| Texture |
title
The ListViewItem's title.
Declaration
public string title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
trailingContainer
The ListViewItem's trailing container.
Declaration
public VisualElement trailingContainer { get; }
Property Value
| Type | Description |
|---|---|
| VisualElement |