Class SwipeViewItem
A SwipeViewItem is an item that must be used as a child of a Swipe
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class SwipeViewItem : BaseVisualElement, IEventHandler, IVisualElementScheduler, IExperimentalFeatures, ITransitionAnimations, ITransform, IResolvedStyle, IContextOverrideElement, IAdditionalDataHolder
Constructors
SwipeViewItem()
Default constructor.
Declaration
public SwipeViewItem()
Fields
ussClassName
The main styling class of the SwipeViewItem. This is the class that is used in the USS file.
Declaration
public const string ussClassName = "appui-swipeview-item"
Field Value
Type | Description |
---|---|
string |
Properties
index
The index of the item in the SwipeView.
Declaration
public int index { get; }
Property Value
Type | Description |
---|---|
int |
view
The SwipeView that contains this item.
Declaration
public SwipeView view { get; }
Property Value
Type | Description |
---|---|
Swipe |