Class Chip
Chip UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Chip : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IPressable
Constructors
| Name | Description |
|---|---|
| Chip() | Default constructor. |
Fields
| Name | Description |
|---|---|
| clickableUssClassName | The Chip Clickable variant styling class. |
| deletableUssClassName | The Chip Deletable variant styling class. |
| deleteButtonUssClassName | The Chip delete Button styling class. |
| deleteIconUssClassName | The Chip delete Icon styling class. |
| labelUssClassName | The Chip label styling class. |
| ornamentContainerUssClassName | The Chip ornament container styling class. |
| ussClassName | The Chip main styling class. |
| variantUssClassName | The Chip variant styling class. |
| withOrnamentUssClassName | The Chip with ornament variant styling class. |
Properties
| Name | Description |
|---|---|
| clickable | Clickable Manipulator for this Chip. |
| contentContainer | The content container of the Chip. This is the ornament container. |
| deleteIcon | The icon name for the delete button. |
| label | The Chip label. |
| ornament | The Chip ornament. |
| variant | The Chip variant. |
Events
| Name | Description |
|---|---|
| clicked | Event fired when the Chip is clicked. |
| deleted | Event fired when the Chip is deleted. |